3

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 Answers1

0

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()
Wasif
  • 14,755
  • 3
  • 14
  • 34
  • oh, sadly, Thanks anyway, I didnt wanted to install sframe because of proprietery, but anyway, this method is great thank you :) –  Nov 08 '20 at 08:05