turi-code / SFrame

SFrame: Scalable tabular and graph data-structures built for out-of-core data analysis and machine learning.
BSD 3-Clause "New" or "Revised" License
889 stars 326 forks source link

sframe error when loading a small test csv #387

Open xyshadow opened 7 years ago

xyshadow commented 7 years ago

Hi,

I just start testing loading a small test csv with sframe in ipython notebook, and I am getting the following error:

sf = graphlab.SFrame('C:\Users\ryan\Downloads\sfram_test.csv')

Could not detect types. Using str for each column.

RuntimeError Traceback (most recent call last)

in () ----> 1 sf = graphlab.SFrame('C:\Users\ryan\Downloads\sfram_test.csv') C:\Users\ryan\Anaconda2\envs\gl-env\lib\site-packages\graphlab\data_structures\sframe.pyc in __init__(self, data, format, _proxy) 951 pass 952 else: --> 953 raise ValueError('Unknown input type: ' + format) 954 955 sframe_size = -1 C:\Users\ryan\Anaconda2\envs\gl-env\lib\site-packages\graphlab\cython\context.pyc in __exit__(self, exc_type, exc_value, traceback) 47 if not self.show_cython_trace: 48 # To hide cython trace, we re-raise from here ---> 49 raise exc_type(exc_value) 50 else: 51 # To show the full trace, we do nothing and let exception propagate yan\Downloads\sfram_test.csv). Have I done any wrong here? Appreciate any help in advance.
Nishith6 commented 4 years ago

please can you tell me how to create csv file