wgpubs
wgpubs

Reputation: 8271

Is there a GraphLab SFrame.show() equivalent in Pandas?

Graphlabs SFrame.show() display a comprehensive view of each column in the SFrame and I was wondering if there is an equivalent in Pandas?

df.describe() just doesn't provide the level of details at a glance that sf.show() does.

Upvotes: 5

Views: 709

Answers (1)

jfunk
jfunk

Reputation: 8162

The closest thing is df.describe() as you've already pointed out. However you might be able to supplement the missing details with further call to pandas functions such as:

df['A'].value_counts() - Count the frequency of values in a column

df['A'].mean() - Compute the mean of a column

df['A'].var() - Compute the variance of a column

df['A'].std() - Compute the standard deviation of a column

df['A'].min()

df['A'].max()

df['A'].sum()

etc...

See this link for more...

Upvotes: 0

Related Questions