user14596741
user14596741

Reputation:

How to load sframe format file in pandas?

Is there any way to directly open .sframe extension file in pandas. Like an easy way

df = pd.read_csv('people.sframe')

Thank you.

Upvotes: 3

Views: 1360

Answers (1)

wasif
wasif

Reputation: 15498

No, you can't import sframe files directly with Pandas. Rather you can use a free python library named sframe:

import sframe
import pandas as pd

sf = sframe.SFrame('people.sframe')

Then you can convert it to a pandas DataFrame using:

df = sf.to_dataframe()

Upvotes: 0

Related Questions