This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Description
Pandas has a to_dict method, that returns this equivalent representation:
{k:df[k] for k in df.columns}
For convenience (especially for those porting scripts from Pandas to SFrame), we should provide an equivalent. In the meantime, here's a workaround:
sf_dict = {k:sf[k] for k in sf.column_names()}