I'm using IPython in a Spark/Bluemix environment
I have a csv uploaded to the the object store and I can read it ok using sc.textfile but I get file does not exist when I use pandas pd.read_csv
data = sc.textFile("swift://notebooks.books/rtenews.csv")import pandas as pddata = pd.read_csv('swift://notebooks.books/rtenews.csv')
IOError File swift://notebooks.books/rtenews.csv does not exist
Why is this?
How can I read a csv file to a pandas dataframe?