Skip to main content

Functions for Data Processing

Project description

Datafuncs

Functions for Data Processing

Functions

.mean(data) - Returns the mean of a list

.setOutlier(data, low, high) - Removes the outliers from a list

.imputate(data, low, high) - Replaces outliers in a list with the mean of the filtered list.

.median(data) - Returns the median of a list

.mode(data) - Returns the mode of a list

.freq(data, value) - Returns the Amount of times that a value occurs in the list data

.Range(data) - Returns the range of the list

.replace(data, old, new) - Replaces every old value in the list with the new value

.gen(length, low, high, type) - Generates a list of random values of the type specified that is length long - Ignore the low and high values if you are not generating a list of integers

.stdDev(data) - Returns the standard deviation of the list to two decimal places

.variance(data) - Returns the variance of the list to two decimal places

.iqr(data) - Returns the Interquartile Range of the list data to two decimal places

.zScore(data, value) - Returns the z score of a value using the list data as a dataset

.percentile(zScore) - Returns the percentile of a value using the z score

.outlier(data, zScoreCutoff) - Automatically removes outliers outside a set z score

.merge(list1, list2) - Merges two lists into tupled lists

.covariance(list1, list2) - Returns the covariance of the two given lists to two decimal places

.correlate(list1, list2) - Returns the correlation coefficient of the two given lists to two decimal places

.slope(list1, list2) - Calculates the of a linear regression line using the two given lists

.regression(list1, list2, value) - Calculates the regression line for a given value between two lists

.all(list1, list2, list3, etc...) - Returns everything the script knows about a list and compares multiple lists

.Help() - Prints a list of the above functions and their explanations

Created by Fraser Woodward & Liam Leonard

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

datafuncs-0.3.6.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

datafuncs-0.3.6-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file datafuncs-0.3.6.tar.gz.

File metadata

  • Download URL: datafuncs-0.3.6.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for datafuncs-0.3.6.tar.gz
Algorithm Hash digest
SHA256 d52670ebfc27ecd3583f38371adb4f0bd0424a9e9123ec0ad385a3110e455da4
MD5 9208494c3750e1abb7f37ad07ab84cda
BLAKE2b-256 b976674ac6007c10fef35a62baa1782691804a73d9070c34d30e64304d53d3b8

See more details on using hashes here.

File details

Details for the file datafuncs-0.3.6-py3-none-any.whl.

File metadata

  • Download URL: datafuncs-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for datafuncs-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0cc90ffa61b91198f95b1d39c308c7629fe6ad79b07640d9b3380f40892261e3
MD5 cf7dcf8a8f23fae9f6e9fca83750aa90
BLAKE2b-256 e88624509f38be635158844d2dd627f54520c52c5c076ec204609fc0add4c1d0

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