A pandas extension to explore and handling missing values.
Project description
Pandas missing
Install
pip install pandas-missing
or
conda install -c jvelezmagic pandas_missing
How to use
import pandas as pd
import pandas_missing
df = pd.DataFrame.from_dict(
{
"number": range(0, 15)
}
)
df.iloc[3:6, :] = None
df
<style scoped>
.dataframe tbody tr th:only-of-type {
vertical-align: middle;
}
.dataframe tbody tr th {
vertical-align: top;
}
.dataframe thead th {
text-align: right;
}
</style>
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 |
df.missing.number_missing()
3
df.missing.number_complete()
12
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pandas_missing-0.0.10.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for pandas_missing-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b14cc8dbd20b2696420d540610105df2d90beaafac68452f9cf354c3a060a4a0 |
|
MD5 | 4765a2873711bbccc829d0e7eb48990b |
|
BLAKE2b-256 | 644d2bd710cf6ff34b0c7a3c6de5e8894f5838f7bbac84b7c8a325c6cf459119 |