#๐Ÿ”’ file directory

6 messages ยท Page 1 of 1 (latest)

bitter ice
#

hi i re fixed all my code cuz i felt like they were all wrong, but one thing i am having issues with is the file directories to my datas. I have tried multiple methods but non were working. Would you be able to help? My data set are inside a folder inside a subfolder.

dry axleBOT
#

@bitter ice

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

bitter ice
#
#Reading in the data
fourteen = pd.read_excel("content\ATP\2014.xlsx")
fifteen= pd.read_excel("content\ATP\2015.xlsx")
sixteen= pd.read_excel("content\ATP\2016.xlsx")
seventeen= pd.read_excel("content\ATP\2017.xlsx")
eighteen= pd.read_excel("content\ATP\2018.xlsx")
nineteen= pd.read_excel("content\ATP\2019.xlsx")
twenty= pd.read_excel("content\2020.xlsx")
twenty_one= pd.read_excel("content\2021.xlsx")
twenty_two= pd.read_excel("content\2022.xlsx")
twenty_three= pd.read_excel("content\2023.xlsx")```
dark gate
#

can't help without enough code, the error does not originate from given code

dry axleBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.