DataRefine
DataRefine is a Python package designed for data cleaning with interactive output and visualizations. It offers a streamlined interface to help users detect and handle missing values, outliers, perform normalization and transformation, and assess data quality. The package also integrates interactive visualizations to make it easy for users to understand their data, along with an interface for an enhanced user experience.
Features
-
Interactive Data Upload: Easy CSV file upload functionality
-
Missing Data Handling:
- Multiple imputation strategies (mean, median, mode, predictive)
- Visual representation of missing value patterns
- Column-specific imputation options
-
Outlier Detection & Treatment:
- Multiple detection methods (IQR, Z-score)
- Configurable thresholds
- Visual outlier analysis using box plots
- Multiple handling strategies (capping, removal, imputation)
-
Data Normalization:
- Multiple normalization methods (Min-Max, Z-score, Robust scaling)
- Interactive distribution visualization
- Column-specific normalization
-
Data Transformation:
- Log transformation
- Square root transformation
- Box-Cox transformation
- Before/after distribution comparison
-
Data Quality Assessment:
- Summary statistics
- Visual quality reports
Installation
It's recommended to install DataRefine in a virtual environment to manage dependencies effectively and avoid conflicts with other projects.
1. Set Up a Virtual Environment
For Python 3.3 and above:
-
Create a Virtual Environment:
python -m venv env
Replace
envwith your preferred name for the virtual environment. -
Activate the Virtual Environment:
-
On Windows:
env\Scripts\activate
-
On macOS/Linux:
source env/bin/activate
-
2. Install DataRefine
Once the virtual environment is activated, you can install DataRefine using pip:
pip install datarefine==1.0
Quick Start
After installation, you can start DataRefine directly by running:
DataRefine
Open your web browser and navigate to the provided local URL.
Upload your CSV file.
Start cleaning your data!
How to use?
-
Data Upload:
- Click the "Upload CSV" button.
- Select your CSV file from your local system.
-
Data Cleaning:
- Use the sidebar to navigate between different cleaning operations.
- Configure parameters using the interactive controls.
- View real-time visualizations of the changes.
- Download the cleaned dataset when finished.
- For a detailed video walkthrough of the app's features and functionality, check out our YouTube demo.
Requirements
- Python >= 3.7
- Streamlit
- Pandas
- NumPy
- plotly
- scikit-learn
For more detailed information, see the requirements.txt file.
Contributing
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a new branch (git checkout -b feature/improvement)
- Make your changes
- Commit your changes (git commit -am 'Add new feature')
- Push to the branch (git push origin feature/improvement)
- Create a Pull Request
License
This project is licensed under the MIT License - see the LICENSE.mdfile for details.
Acknowledgments
Special thanks to all the libraries and frameworks that have helped in developing this package.
Version History
- 1.0.0: Initial release
- Basic data cleaning functionality
- Interactive web interface
- Visualization capabilities
Metadata
Release files for DataRefine 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| DataRefine-1.0.tar.gz | 67.7 kB | Without provenance | Details for DataRefine-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| DataRefine-1.0-py3-none-any.whl | Python 3 | none | any | Details for DataRefine-1.0-py3-none-any.whl |
Total release size: 135.6 kB
Release files / DataRefine-1.0.tar.gz
| Download URL | DataRefine-1.0.tar.gz |
|---|---|
| Size | 67.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6deafb2f6fe1cd524f828f45d16f986809b2e3b71a74badcb1f6dc6a1b58403c
|
|
BLAKE2b-256 checksum How to use checksums |
cbef4975f5b5da5cfd8bcf5a6121ac1633757a5924d0eac0fc27e2d8895e9633
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / DataRefine-1.0-py3-none-any.whl
| Download URL | DataRefine-1.0-py3-none-any.whl |
|---|---|
| Size | 67.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e06a6dd082c0300f475eba6c7857043fb5e029245166c8db3f0325f8d36ecf25
|
|
BLAKE2b-256 checksum How to use checksums |
a5688c50b319843449506340b805dbd8d5d9fd365e1512d93e64033018b89083
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Security for DataRefine 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.