Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bitbynik/hmv_pack
UCS633 Project-3
https://github.com/bitbynik/hmv_pack
data-analysis-and-visualization missing-data tiet
Last synced: 3 days ago
JSON representation
UCS633 Project-3
- Host: GitHub
- URL: https://github.com/bitbynik/hmv_pack
- Owner: BitByNIK
- Created: 2024-12-06T13:08:56.000Z (19 days ago)
- Default Branch: main
- Last Pushed: 2024-12-06T13:09:29.000Z (19 days ago)
- Last Synced: 2024-12-06T13:39:00.516Z (19 days ago)
- Topics: data-analysis-and-visualization, missing-data, tiet
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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`
2) 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*