Skip to main content

HANDLING MISSING DATA

PROJECT 3, UCS633 - Data Analysis and Visualization
Nikhil Gupta  
COE17
Roll number: 101703371

Output is the dataset which contains no missing values and this dataset is streamed to a new csv file whose name is provided by the user.

Installation

pip install hmvpack_NG

Note the name has an underscore not a hyphen. If installation gives error or package is not found after installing, install as sudo.

Recommended - test it out in a virtual environment.

To use via command line

The package contains two functions i.e there are two ways of handling missing data. First two arguments are same for accessing both functions.

  1. Deleting the row with missing values.

HMVcli infile.csv outfile.csv D

  1. Replacing the missing values by mean of the values of that particular feature

HMVcli infile.csv outfile.csv R

To use in .py script

For Deletion function ->

from hmvlib.models import delete_record
delete_record('infile.csv', 'oufile.csv')

For Replacement function ->

from hmvlib.models import replace_record
replace_record('infile.csv', 'oufile.csv')

Can email me for any issues or suggestions

Release files for hmvpack-NG 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hmvpack-NG 0.0.3
File Size Uploaded
hmvpack-NG-0.0.3.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hmvpack-NG 0.0.3
File Interpreter ABI Platform
hmvpack_NG-0.0.3-py2-none-any.whl Python 2 none any Details

Total release size: 5.0 kB

Release files / hmvpack-NG-0.0.3.tar.gz

Download URL hmvpack-NG-0.0.3.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f6909ea81a1ff2935745ef4217e245e3177cc0d228aeb989f708cb4ef5a01fdd
BLAKE2b-256 checksum
How to use checksums
801d54fbaefa6bf55b858ed89168acf35d226e9684a159232b90cd8fbf096fb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.17

Release files / hmvpack_NG-0.0.3-py2-none-any.whl

Download URL hmvpack_NG-0.0.3-py2-none-any.whl
Size 2.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
5171a7e42d991d137576364aac4b8238eb237660f0eb1477433e94634398243d
BLAKE2b-256 checksum
How to use checksums
f7cf9de868d3aca2b495acb778b1eb850ecf9a1c81925652dd4604db58e4212f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.17

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page