Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,7 @@ if uploaded_file is not None:
|
|
29 |
df = df.drop(0, axis=0)
|
30 |
df = df.drop("Unnamed: 2", axis=1).drop("Unnamed: 4", axis=1).rename({"Unnamed: 0": "Date"}, axis=1)
|
31 |
|
|
|
32 |
df['Date'] = pd.to_datetime(df['Date'], format="%d/%m/%Y %H:%M:%S")
|
33 |
|
34 |
stocks = list(df.columns)[-3:]
|
|
|
29 |
df = df.drop(0, axis=0)
|
30 |
df = df.drop("Unnamed: 2", axis=1).drop("Unnamed: 4", axis=1).rename({"Unnamed: 0": "Date"}, axis=1)
|
31 |
|
32 |
+
|
33 |
df['Date'] = pd.to_datetime(df['Date'], format="%d/%m/%Y %H:%M:%S")
|
34 |
|
35 |
stocks = list(df.columns)[-3:]
|