freelance-project-34-market.../python/tasks/mlb_player.py
Siarhei Siniak ccf7705477 [~] Refactor
2021-07-16 10:22:10 +03:00

23 lines
351 B
Python

import glob
import os
import pandas
def kernel_1():
t1 = '/kaggle/input/mlb-player-digital-engagement-forecasting'
t2 = glob.glob(
os.path.join(
t1,
'*.csv'
)
)
t3 = {
o : pandas.read_csv(o)
for o in t2
}
return dict(
t1=t1,
t2=t2,
t3=t3,
)