Please enable JavaScript.
Coggle requires JavaScript to display documents.
Pandas_functions - Coggle Diagram
Pandas_functions
exploratory functions
data.head ()
data.tail ()
value
data.nlargest (10, then column name)
data.nsmallest (10, then column name)
Loc and iloc are used to select rows and columns.
loc: select by labels
The labels of columns are the column names.
data.loc [:5, ['column name' , 'column name']]
Selecting first 6 rows and 2 columns with loc:
iloc: select by positions
Selecting first 4 rows and first 6 columns with iloc:
groupby
dataFrame.info( )
data.dtypes ()
data.shape ()
data.describe ()
data.sample (n=8)
data.index ()
data.columns