Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

pandas df describe()

df = pd.DataFrame({'categorical': pd.Categorical(['d','e','f']),
...                    'numeric': [1, 2, 3],
...                    'object': ['a', 'b', 'c']
...                   })
>>> df.describe()
       numeric
count      3.0
mean       2.0
std        1.0
min        1.0
25%        1.5
50%        2.0
75%        2.5
max        3.0
Comment

pandas describe

df.describe() #when df is a Pandas dataframe
Comment

PREVIOUS NEXT
Code Example
Python :: sparse categorical cross entropy python 
Python :: drop missing values in a column pandas 
Python :: find average of list python 
Python :: python get dictionary keys 
Python :: python sqlite insert 
Python :: how to add three conditions in np.where in pandas dataframe 
Python :: printing float number python 
Python :: python hello world program 
Python :: scroll horizontal excel 
Python :: python 3 numbers of a range is even 
Python :: unix command in python script 
Python :: is flask open source 
Python :: check tf verison 
Python :: How to get the value of an Entry widget in Tkinter? 
Python :: how to take input in 2d list in python 
Python :: how to remove stop words in python 
Python :: pandas convert series of datetime to date 
Python :: how to flatten a nested list in python 
Python :: python loop through array step size 2 
Python :: numpy normalize 
Python :: opencv export image 
Python :: python sizeof 
Python :: python palindrome 
Python :: tkmessagebox not found 
Python :: pandas to latex 
Python :: python datetime day of year 
Python :: pyqt5 image 
Python :: pandas series quantile 
Python :: how to slice even index value from a list in python using slice function 
Python :: No package python37 available. 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =