File not found error for csv

Hi I currently deployed my app to streamlit and it is saying that there is an file error trying to read my csv file. Is there a way to fix the path? Thank you

https://ekye0512-personal-bank-budgeting-app-mokpr5.streamlit.app/


You need to specify a path to the file from your working directory. Currently it looks like you are using a path from your local Windows environment.

You currently have:

df_mint = pd.read_csv(
    '/Users/eric/Documents/Github/Personal_Bank_Budgeting/transactions.csv')

It appears you have saved this file at the top level of your working directory, so this should just be:

df_mint = pd.read_csv('transactions.csv')

Thank you so much! This fixed it!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.