Validate the pandas objects such as DataFrame and Series.
Project description
Validates the pandas object such as DataFrame and Series. And this can define validator like django form class.
class SampleDataFrameValidator(validators.DataFrameValidator):
row_num = 5
column_num = 2
label1 = validators.IntegerColumnValidator('label1', min_value=0, max_value=10)
label2 = validators.FloatColumnValidator('label2', min_value=0, max_value=10)
Getting Started
Installation
$ pip install pandas_validator
Usage
Please see the following demo written by ipython notebook.
Documentation
The latest documentation is hosted at ReadTheDocs.
Requirements
Traget Python version is 2.7, 3.4
pandas
License
This software is licensed under the MIT License.
Resources
CHANGES
0.2.0 (2015-05-24)
Support char type validation
flake8 testing
0.1.0 (2015-05-22)
Initial release.
Support integer series validator
Support float series validator
Support dataframe validator
Testing on python2.7 and python 3.4
0.0.0 (2015-05-17)
Create this project.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pandas_validator-0.2.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for pandas_validator-0.2.0-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cb00c8ed0f060f910dba040d2bd8ed507c81018bce9e26276e0ac030be0c03c |
|
MD5 | 409bd11ebd16b1ef17735166cf40f3f5 |
|
BLAKE2b-256 | 58590ae67f60ca1e6705f38558abc693dfb9b3d87448d69bfe308e786f2ab89b |