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 :: tkinter change button color smoothly 
Python :: Python NumPy concatenate Function Example when axis equal to 1 
Python :: how to calculate log 10 in python 
Python :: ipython and virtualenvs 
Python :: list in python 
Python :: Split the string using the separator 
Python :: how to append substring to string in specific position in python 
Python :: python count of values in array 
Python :: django rest framework serializers 
Python :: pandas grid subplots 
Python :: python set cookies 
Python :: get schema of json pyspark 
Python :: pip config proxy 
Python :: doctest example in python 
Python :: python 2d array append 
Python :: class attributes in python 
Python :: matplotlib temperature celsius 
Python :: python replace string with int in list 
Python :: saving model 
Python :: how to see truncated values in jupyter notebook 
Python :: python requests with authorisation token 
Python :: put cropped image in original image name folder python 
Python :: Python Pandas export Dataframe to csv File 
Python :: pairwise combinations groupby 
Python :: Resource stopwords not found 
Python :: sum the contents of a list python 
Python :: scan wifi networke micropython 
Python :: python os path safe string 
Python :: how to make bak files with python 
Python :: list dictionary to json file python with tab 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =