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

df describe

df.describe(include='all')
Comment

PREVIOUS NEXT
Code Example
Python :: how to hide button in tkinter 
Python :: every cell change comma to point pandas 
Python :: sns boxplot ylabelsize 
Python :: _getexif 
Python :: python test class hashable 
Python :: how to add numbers into a list python 
Python :: list comprehensions 
Python :: telegram.ext 
Python :: Reading Custom Delimited 
Python :: python scipy put more weight to a set value in curve_fit 
Python :: python print exection type 
Python :: chrome detach selenium python 
Python :: find an element using id in requests-html library in python 
Python :: gunicorn django static files 
Python :: python bubble plot 
Python :: install requests-html in linux 
Python :: selenium error 403 python 
Python :: python string ignore characters 
Python :: pd merge_asof 
Python :: how to calculate numbers with two zeros in python 
Python :: every substring python 
Python :: how to make a histogram with plotly for a single variable 
Python :: concat Pandas Dataframe with Numpy array. 
Python :: get the creating date of files ftp python 
Python :: python pop a element by index 
Python :: mechanize python #3 
Python :: python tabulate without index 
Python :: python sepia filter 
Python :: how to display python output on html page django 
Python :: python n range num list 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =