https://github.com/jvelezmagic/pandas-missing
A pandas extension to explore and handle missing values.
https://github.com/jvelezmagic/pandas-missing
data-exploration eda missing-data missing-values pandas
Last synced: 11 months ago
JSON representation
A pandas extension to explore and handle missing values.
- Host: GitHub
- URL: https://github.com/jvelezmagic/pandas-missing
- Owner: jvelezmagic
- License: apache-2.0
- Created: 2022-07-29T20:42:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-18T19:54:40.000Z (over 3 years ago)
- Last Synced: 2025-01-02T04:03:57.599Z (about 1 year ago)
- Topics: data-exploration, eda, missing-data, missing-values, pandas
- Language: Jupyter Notebook
- Homepage: https://jvelezmagic.github.io/pandas-missing/
- Size: 362 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Pandas missing
================
## Install
``` bash
pip install pandas-missing
```
or
``` bash
conda install -c jvelezmagic pandas_missing
```
## How to use
``` python
import pandas as pd
import pandas_missing
```
``` python
df = pd.DataFrame.from_dict(
{
"number": range(0, 15)
}
)
df.iloc[3:6, :] = None
df
```
.dataframe tbody tr th:only-of-type {
vertical-align: middle;
}
.dataframe tbody tr th {
vertical-align: top;
}
.dataframe thead th {
text-align: right;
}
number
0
0.0
1
1.0
2
2.0
3
NaN
4
NaN
5
NaN
6
6.0
7
7.0
8
8.0
9
9.0
10
10.0
11
11.0
12
12.0
13
13.0
14
14.0
``` python
df.missing.number_missing()
```
3
``` python
df.missing.number_complete()
```
12