Zaktualizuj 'kagle.py'
This commit is contained in:
parent
e99de93a9d
commit
8863f36ca8
2
kagle.py
2
kagle.py
@ -5,7 +5,7 @@ from sklearn.model_selection import train_test_split
|
|||||||
#os.system("kaggle datasets download -d tamber/steam-video-games")
|
#os.system("kaggle datasets download -d tamber/steam-video-games")
|
||||||
#os.system("unzip -o steam-video-games.zip")
|
#os.system("unzip -o steam-video-games.zip")
|
||||||
|
|
||||||
steam=pd.read_csv('steam-200k.csv',usecols=[0,1,2,3],names=['userId','game','behavior','hoursPlayed'])
|
steam=pd.read_csv('data.csv',usecols=[0,1,2,3],names=['userId','game','behavior','hoursPlayed'])
|
||||||
steam.isnull().values.any()
|
steam.isnull().values.any()
|
||||||
steam['userId'] = steam.userId.astype(str)
|
steam['userId'] = steam.userId.astype(str)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user