[~] Refactor
This commit is contained in:
parent
c81882e3ee
commit
ccf7705477
@ -1,9 +1,15 @@
|
|||||||
import glob
|
import glob
|
||||||
|
import os
|
||||||
import pandas
|
import pandas
|
||||||
|
|
||||||
def kernel_1():
|
def kernel_1():
|
||||||
t1 = '/kaggle/input/mlb-player-digital-engagement-forecasting'
|
t1 = '/kaggle/input/mlb-player-digital-engagement-forecasting'
|
||||||
t2 = glob.glob(t1, '*.csv')
|
t2 = glob.glob(
|
||||||
|
os.path.join(
|
||||||
|
t1,
|
||||||
|
'*.csv'
|
||||||
|
)
|
||||||
|
)
|
||||||
t3 = {
|
t3 = {
|
||||||
o : pandas.read_csv(o)
|
o : pandas.read_csv(o)
|
||||||
for o in t2
|
for o in t2
|
||||||
|
Loading…
Reference in New Issue
Block a user