Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,6 @@ if uploaded_file is not None and not st.session_state['file_processed']:
|
|
| 41 |
# Check the file type based on the MIME type
|
| 42 |
if uploaded_file.name.endswith('.csv'):
|
| 43 |
new_data = pd.read_csv(uploaded_file)
|
| 44 |
-
#new_data['Date'] = pd.to_datetime(new_data['Date'])
|
| 45 |
|
| 46 |
st.session_state['expenses'] = pd.concat([st.session_state['expenses'], new_data], ignore_index=True)
|
| 47 |
|
|
|
|
| 41 |
# Check the file type based on the MIME type
|
| 42 |
if uploaded_file.name.endswith('.csv'):
|
| 43 |
new_data = pd.read_csv(uploaded_file)
|
|
|
|
| 44 |
|
| 45 |
st.session_state['expenses'] = pd.concat([st.session_state['expenses'], new_data], ignore_index=True)
|
| 46 |
|