Skip to main content

XAIL Data quality

Project description

Xurpas Data Quality Report

How to Use

  • Load the data to be analyzed (so far only csv files supported)
  • Import the DataReport class
  • Save the report to html File

DataReport

Creates and saves to file the data report.

Args

file:       The path of the file you want to analyze. If empty, df parameter must exist.
         Only supports .csv, .xlsx, .parquet, and .orc file formats.
df:       Pandas DataFrame object of data to be analyzed, If using df, file must be empty.
report_name:   Name of the report. Defaults to 'Data Report'.
file_path:     Path/ directory of where the report is to be saved.
data_types:    A dict containing the column names and column type to specify column data type.          Data Types currently allowed "Categorical, Numerical, Date, Text".
minimal:     Default is True. A boolean to check if you want minimal mode as your data report.

Returns

HTML File of data quality Report

Sample Usage using pandas DataFrame

import pandas as pd
from xurpas_data_quality import DataReport

df = pd.read_csv("manhour_utilization_summary.csv")
report = DataReport(df=df,
                    report_name="Manhour Utilization Summary", 
                    file_path="test_reports/test.html")
report.to_file()

Sample Usage using filepath

from xurpas_data_quality import DataReport
report = DataReport(file="manhour_utilization_summary.csv",
                    report_name="Manhour Utilization Summary", 
                    file_path="test_reports/test.html")
report.to_file()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xurpas_data_quality-1.4.4-py3-none-any.whl (51.9 kB view details)

Uploaded Python 3

File details

Details for the file xurpas_data_quality-1.4.4-py3-none-any.whl.

File metadata

File hashes

Hashes for xurpas_data_quality-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d070d7696e47ce47d102f165c62e53c4f0d53a7b3eaab743a0e512c5fc33ebc
MD5 39b2d3996dfa9f73dd3fb93fc5631dce
BLAKE2b-256 0e2db944fb5c5512fb57e7ec93a7239e4cef08d0ddfd0554697d9d633aa55c8f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page