Skip to main content

Package to help with normalizing data needed for the platform!

Project description

General Information

DataNormalizer helps with importing datasets inside the platform by normalizing it.

import DataNormalizer

App details/ authenticate

The DataNormalizer library needs the details of the target app. This information can be retrieved through the Clappform library and then be passed to the library.

Clappform.Auth(baseURL="https://dev.clappform.com/", username="user@email.com", password="password")
retrievedAppData = Clappform.App("app-name").ReadOne(extended=True)
excelAsDF = pandas.read_excel("data.xlsx")
fixedData = DataNormalizer.Diagnose(appData=readAppData, inputData=excelAsDF).fixMismatch()

obtainKeys

Function that will find keys needed for the app, needs appData

DataNormalizer.Validate(appData=None).obtainKeys()

matchKeys

Function that will find missing keys, needs appData and inputData

DataNormalizer.Validate(appData=None, inputData=None).matchKeys()

fixMismatch

Function that will suggest changes to your dataset based on missing keys, needs appData and inputData

DataNormalizer.Diagnose(appData=None, inputData=None).fixMismatch(strictness = 0.8)

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

DataNormalizer-0.0.2.dev8.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

DataNormalizer-0.0.2.dev8-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

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