General Info
Import Export
Data Processing
Analysis
Machine Learning
Useful Snippets
×
- Get info about how a DataFrame is defined
- 7.0.0 Get column names
- 7.0.1 Get column datatypes
- 7.0.2 Total rows and columns
- 7.0.3 Total rows - including nulls
- 7.0.4 Total columns
- 7.0.5 get column names counts of values datatypes and memory usage
- 7.0.6 Count non-null instances in column
- 7.0.7 get number of rows that are NULL
- 7.0.8 Get summary of null values for all columns
- 7.0.9 Count unique or distinct values in a column
- 7.0.10 Gget percent of times each value occurs
- 7.0.11 count duplicate values and get sum of each value in column
- 7.0.12 Count of values where value equals x in column
- 7.0.13 Count number of duplicate rows
7.0.10 Gget percent of times each value occurs
Example:
DF[column].value_counts(normalize=True)