This commit is contained in:
Yevhenii Poliakov 2023-05-14 21:19:23 +02:00
parent 2d8d1d999e
commit f9d635c67d

View File

@ -9,8 +9,7 @@ from tensorflow.keras.optimizers import Adam
# Load the dataset from the CSV file # Load the dataset from the CSV file
data = pd.read_csv('data.csv') data = pd.read_csv('data.csv')
# Drop a specific row
data = data.drop(index=5059)
# Prepare the data # Prepare the data
X = data[['movie title', 'User Rating', 'Director', 'Top 5 Casts', 'Writer']] X = data[['movie title', 'User Rating', 'Director', 'Top 5 Casts', 'Writer']]