upd51
This commit is contained in:
parent
3163212f32
commit
e332f40a95
@ -13,7 +13,7 @@ data = pd.read_csv('data.csv')
|
||||
|
||||
# Prepare the data
|
||||
X = data[['movie title', 'User Rating', 'Director', 'Top 5 Casts', 'Writer']]
|
||||
y = data['Rating'].astype(float)
|
||||
y = data['Rating'].values.astype(float)
|
||||
|
||||
print("Data type of 'Rating' column:", y.dtype)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user