I know this seems like such an obvious question but I haven't been able to find the answer to it anywhere.
Whenever I'm reading in a CSV file (or any other type of file), I always need to list the entire path to find that on my computer even though the file is saved in my python project.
This is how I've had to call a CSV file called SF1 into a pandas df:
df = pd.read_csv(r'C:\Users\George Adamopoulos\Desktop\All My Files\Code\Neptune-Financial\datas\CompleteData\FULL_SF1.csv')
I know that in the past doing this has worked for me:
df = pd.read_csv('../datas/CompleteData/FULL_SF1.csv')
It's really annoying because everything is able to run fine on my computer, but when I push things to Github, it's a mess with everyone trying to change the path to their computers.
I'm using python 3.7