Skip to content

sframe error when loading a small test csv #387

@xyshadow

Description

@xyshadow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions