Spaces:
Runtime error
Runtime error
gaspar-avit
commited on
Commit
·
43a2075
1
Parent(s):
3e521c8
Upload app.py
Browse files
app.py
CHANGED
@@ -151,7 +151,7 @@ def load_dataset():
|
|
151 |
zf.close()
|
152 |
|
153 |
# Create dataframe
|
154 |
-
data = pd.read_csv('
|
155 |
data['year'] = data["release_date"].map(lambda x: x.split('-')[0] if isinstance(x, str) else '0')
|
156 |
data['title_year'] = data['title'] + ' (' + data['year'] + ')'
|
157 |
|
|
|
151 |
zf.close()
|
152 |
|
153 |
# Create dataframe
|
154 |
+
data = pd.read_csv('movies.csv', low_memory=False)
|
155 |
data['year'] = data["release_date"].map(lambda x: x.split('-')[0] if isinstance(x, str) else '0')
|
156 |
data['title_year'] = data['title'] + ' (' + data['year'] + ')'
|
157 |
|