+ 1
Data file for python program
How do you create data file, (i.e. foo.csv) in your playground to be used by your python and pandas code on Sololearn. If I create a csv file for a pandas data frame in my playground, how do I reference pd.read_csv(filename)? I tried filename = "foo.csv", but that work. hopping "foo.csv" would be in the CWD of where the python code resided. All the examples I've look at seem to use URLs
1 Answer
+ 8
Rick Shiffman
I believe I covered that in this code_bit
line 122 forward
df.to_cvs
https://code.sololearn.com/c0qLqnGRFhhU/?ref=app