How to load sframe format file in pandas?

1.2k Views Asked by At

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

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

Thank you.

1

There are 1 best solutions below

1
Wasif On BEST ANSWER

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()