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, Float, Integer, Date, String".
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 Distribution

xurpas_data_quality-1.1.3a2.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

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

xurpas_data_quality-1.1.3a2-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

Details for the file xurpas_data_quality-1.1.3a2.tar.gz.

File metadata

  • Download URL: xurpas_data_quality-1.1.3a2.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for xurpas_data_quality-1.1.3a2.tar.gz
Algorithm Hash digest
SHA256 369a83d2dd409ae772cc6acdb322c2510f5506aeeb3abe80b2427656c47799aa
MD5 1efa3d8f5f4aa56999c7161b2f3d726c
BLAKE2b-256 efd38db8dcac122588103a51bff48fed43d7bccd76bd08a016b648f3dc0058e3

See more details on using hashes here.

File details

Details for the file xurpas_data_quality-1.1.3a2-py3-none-any.whl.

File metadata

File hashes

Hashes for xurpas_data_quality-1.1.3a2-py3-none-any.whl
Algorithm Hash digest
SHA256 689f523093f454bcf623e32b88d9bb72f791f03be3bd2af474f6dac826bd424f
MD5 522e872c76c167ef9ef022f0d7d02c01
BLAKE2b-256 3bcdda4f6a2b1841bb6f6f530b496a951df322482a4f038225d6d01ecb2b4ae1

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