# visualimiss
[![](https://img.shields.io/pypi/v/visualimiss?style=flat-square)](https://pypi.org/project/visualimiss/)
[![](https://img.shields.io/badge/python-3.7+-blue.svg?style=flat-square)](https://www.python.org/downloads/)
[![](https://img.shields.io/github/license/ngntrgduc/visualimiss?style=flat-square)](https://github.com/ngntrgduc/visualimiss/blob/master/LICENSE)
"**visuali**ze **miss**ing data". A simple [missingno](https://github.com/ResidentMario/missingno)
clone. Some features were removed from the original and some were added.
# Features
Some features differ from the original one:
- Have `matrix()`, `bar()` modified function from the original one
- Simpler and faster
- Maybe more readable?
# Installation
```
pip install visualimiss
```
This also install all dependencies: [Numpy](https://numpy.org/), [Pandas](https://pandas.pydata.org/), [Matplotlib](https://matplotlib.org/)
# Quickstart
This quickstart uses datasets of the [NYPD Motor Vehicle Collisions Dataset](https://data.cityofnewyork.us/Public-Safety/Motor-Vehicle-Collisions-Crashes/h9gi-nx95).
```python
import pandas as pd
df = pd.read_csv("https://raw.githubusercontent.com/ResidentMario/missingno-data/master/nyc_collision_factors.csv")
```
## `matrix`
```python
visualimiss.matrix(df)
```
![image](https://user-images.githubusercontent.com/47920109/232233336-76c87128-c1fe-46cf-bb0a-ddf7b584da16.png)
## `bar`
```python
visualimiss.bar(df)
```
![image](https://user-images.githubusercontent.com/47920109/232233350-9ca056c5-f3f3-4a68-ace2-a2fbab520e2d.png)
## `info`
```python
visualimiss.info(df)
```
```
- DataFrame has 7303 rows, 26 columns
- Memory usage: 1.519152 MB
Null count Dtype
DATE 0 object
TIME 0 object
BOROUGH 383 object
ZIP CODE 384 float64
LATITUDE 0 float64
LONGITUDE 0 float64
LOCATION 0 object
ON STREET NAME 1065 object
CROSS STREET NAME 1137 object
OFF STREET NAME 6542 object
NUMBER OF PERSONS INJURED 0 int64
NUMBER OF PERSONS KILLED 0 int64
NUMBER OF PEDESTRIANS INJURED 0 int64
NUMBER OF PEDESTRIANS KILLED 0 int64
NUMBER OF CYCLISTS INJURED 7303 float64
NUMBER OF CYCLISTS KILLED 7303 float64
CONTRIBUTING FACTOR VEHICLE 1 0 object
CONTRIBUTING FACTOR VEHICLE 2 1085 object
CONTRIBUTING FACTOR VEHICLE 3 7000 object
CONTRIBUTING FACTOR VEHICLE 4 7244 object
CONTRIBUTING FACTOR VEHICLE 5 7289 object
VEHICLE TYPE CODE 1 58 object
VEHICLE TYPE CODE 2 1520 object
VEHICLE TYPE CODE 3 7019 object
VEHICLE TYPE CODE 4 7249 object
VEHICLE TYPE CODE 5 7291 object
```
# Configuration
## Sorting
```python
visualimiss.matrix(df, sort='asc')
```
![image](https://user-images.githubusercontent.com/47920109/232233399-aa4055e9-633f-4201-9a87-44da9e4ae1a4.png)
## Rotate, hide label
```python
# visualimiss.matrix(df, label_rotation=90)
visualimiss.matrix(df, show_label=False)
```
![image](https://user-images.githubusercontent.com/47920109/232233625-edbc6586-68f8-4622-80e9-07aa1c1168bb.png)
## Change color, font size
```python
visualimiss.matrix(df, color=(43, 102, 189), fontsize=16)
```
![image](https://user-images.githubusercontent.com/47920109/232233769-fe5738f9-dcf5-4663-b9bb-a5bd7f9709e6.png)
Raw data
{
"_id": null,
"home_page": "",
"name": "visualimiss",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "data,data visualization,missing data",
"author": "ngntrgduc",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/52/94/5f2c0c539890ac7a09c58c678b146a866ebb454e26e16e0bf3b4633311c7/visualimiss-0.0.7.tar.gz",
"platform": null,
"description": "# visualimiss\n[![](https://img.shields.io/pypi/v/visualimiss?style=flat-square)](https://pypi.org/project/visualimiss/)\n[![](https://img.shields.io/badge/python-3.7+-blue.svg?style=flat-square)](https://www.python.org/downloads/)\n[![](https://img.shields.io/github/license/ngntrgduc/visualimiss?style=flat-square)](https://github.com/ngntrgduc/visualimiss/blob/master/LICENSE)\n\n\"**visuali**ze **miss**ing data\". A simple [missingno](https://github.com/ResidentMario/missingno)\nclone. Some features were removed from the original and some were added.\n\n# Features\nSome features differ from the original one:\n- Have `matrix()`, `bar()` modified function from the original one\n- Simpler and faster\n- Maybe more readable?\n\n# Installation\n```\npip install visualimiss\n```\nThis also install all dependencies: [Numpy](https://numpy.org/), [Pandas](https://pandas.pydata.org/), [Matplotlib](https://matplotlib.org/)\n\n# Quickstart\nThis quickstart uses datasets of the [NYPD Motor Vehicle Collisions Dataset](https://data.cityofnewyork.us/Public-Safety/Motor-Vehicle-Collisions-Crashes/h9gi-nx95). \n```python\nimport pandas as pd\ndf = pd.read_csv(\"https://raw.githubusercontent.com/ResidentMario/missingno-data/master/nyc_collision_factors.csv\")\n```\n\n## `matrix`\n\n```python\nvisualimiss.matrix(df)\n```\n![image](https://user-images.githubusercontent.com/47920109/232233336-76c87128-c1fe-46cf-bb0a-ddf7b584da16.png)\n\n\n## `bar`\n\n```python\nvisualimiss.bar(df)\n```\n![image](https://user-images.githubusercontent.com/47920109/232233350-9ca056c5-f3f3-4a68-ace2-a2fbab520e2d.png)\n\n\n## `info`\n\n```python\nvisualimiss.info(df)\n```\n\n```\n- DataFrame has 7303 rows, 26 columns\n- Memory usage: 1.519152 MB\n Null count Dtype\nDATE 0 object\nTIME 0 object\nBOROUGH 383 object\nZIP CODE 384 float64\nLATITUDE 0 float64\nLONGITUDE 0 float64\nLOCATION 0 object\nON STREET NAME 1065 object\nCROSS STREET NAME 1137 object\nOFF STREET NAME 6542 object\nNUMBER OF PERSONS INJURED 0 int64\nNUMBER OF PERSONS KILLED 0 int64\nNUMBER OF PEDESTRIANS INJURED 0 int64\nNUMBER OF PEDESTRIANS KILLED 0 int64\nNUMBER OF CYCLISTS INJURED 7303 float64\nNUMBER OF CYCLISTS KILLED 7303 float64\nCONTRIBUTING FACTOR VEHICLE 1 0 object\nCONTRIBUTING FACTOR VEHICLE 2 1085 object\nCONTRIBUTING FACTOR VEHICLE 3 7000 object\nCONTRIBUTING FACTOR VEHICLE 4 7244 object\nCONTRIBUTING FACTOR VEHICLE 5 7289 object\nVEHICLE TYPE CODE 1 58 object\nVEHICLE TYPE CODE 2 1520 object\nVEHICLE TYPE CODE 3 7019 object\nVEHICLE TYPE CODE 4 7249 object\nVEHICLE TYPE CODE 5 7291 object\n```\n\n# Configuration\n## Sorting\n```python\nvisualimiss.matrix(df, sort='asc')\n```\n![image](https://user-images.githubusercontent.com/47920109/232233399-aa4055e9-633f-4201-9a87-44da9e4ae1a4.png)\n\n## Rotate, hide label\n```python\n# visualimiss.matrix(df, label_rotation=90)\nvisualimiss.matrix(df, show_label=False)\n```\n![image](https://user-images.githubusercontent.com/47920109/232233625-edbc6586-68f8-4622-80e9-07aa1c1168bb.png)\n\n## Change color, font size\n```python\nvisualimiss.matrix(df, color=(43, 102, 189), fontsize=16)\n```\n![image](https://user-images.githubusercontent.com/47920109/232233769-fe5738f9-dcf5-4663-b9bb-a5bd7f9709e6.png)\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Visualize missing data",
"version": "0.0.7",
"project_urls": {
"Bug Tracker": "https://github.com/ngntrgduc/visualimiss/issues",
"Homepage": "https://github.com/ngntrgduc/visualimiss"
},
"split_keywords": [
"data",
"data visualization",
"missing data"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b389fe5ed9ced2f1b24cbf866d83db00a1dab6313b6e715fd418f8ed0559e188",
"md5": "3ca73cb32d761d96960b9e94c819f704",
"sha256": "174004c2cd1c795f4cfe36b293562c184fc2a4327139e8a69d4893f01b7d909b"
},
"downloads": -1,
"filename": "visualimiss-0.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3ca73cb32d761d96960b9e94c819f704",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5233,
"upload_time": "2023-05-03T16:14:26",
"upload_time_iso_8601": "2023-05-03T16:14:26.460934Z",
"url": "https://files.pythonhosted.org/packages/b3/89/fe5ed9ced2f1b24cbf866d83db00a1dab6313b6e715fd418f8ed0559e188/visualimiss-0.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "52945f2c0c539890ac7a09c58c678b146a866ebb454e26e16e0bf3b4633311c7",
"md5": "529549856d2e5400ef7126dedee51b30",
"sha256": "c9d72677e196ff74bc05aedc474e68daf6128e5f46d7cfc09f16af2a64c9efc7"
},
"downloads": -1,
"filename": "visualimiss-0.0.7.tar.gz",
"has_sig": false,
"md5_digest": "529549856d2e5400ef7126dedee51b30",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 4591,
"upload_time": "2023-05-03T16:14:28",
"upload_time_iso_8601": "2023-05-03T16:14:28.289612Z",
"url": "https://files.pythonhosted.org/packages/52/94/5f2c0c539890ac7a09c58c678b146a866ebb454e26e16e0bf3b4633311c7/visualimiss-0.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-03 16:14:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ngntrgduc",
"github_project": "visualimiss",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "visualimiss"
}