Update 'process_dataset.py'
This commit is contained in:
parent
b3295007a4
commit
c34c3308df
@ -3,7 +3,7 @@ import numpy as np
|
||||
from sklearn.model_selection import train_test_split
|
||||
|
||||
# usuwamy przy okazji puste pola
|
||||
lego = pd.read_csv('lego_sets.csv', engine='python').dropna()
|
||||
lego = pd.read_csv('lego_sets.csv', encoding='utf-8').dropna()
|
||||
|
||||
# list_price moze byc do dwoch miejsc po przecinku
|
||||
lego['list_price'] = lego['list_price'].round(2)
|
||||
|
Loading…
Reference in New Issue
Block a user