Shared Flashcard Set

Details

Pandas Graphs
Info for creating graphs in Python using Pandas
5
Computer Science
Not Applicable
08/27/2019

Additional Computer Science Flashcards

 


 

Cards

Term
Syntax for Bar Charts
Definition
df.plot(kind='bar', x='col', y='col')
df.plot.bar(x='col', y='col')
Term
Syntax for Pie Charts
Definition
df.plot.pie(y='column')
df.column.plot.pie()
df.plot(kind='pie', y='column')
Term
Syntax for Scatterplots
Definition
df.plot(kind='scatter', x='col', y='col')
df.plot.scatter(x='column', y='column', c='column', s=numeric)
Term
Syntax for Histograms
Definition
df.plot.hist()
df.plot(kind='hist')
Term
Syntax for Line Graph
Definition
df.plot(data)
Supporting users have an ad free experience!