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.2.tar.gz (8.2 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.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datafuncs-0.3.2.tar.gz
  • Upload date:
  • Size: 8.2 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.2.tar.gz
Algorithm Hash digest
SHA256 60612c1da85a9fead3fc560666cdc7f1b4bbc0b96013a3fc0b2a1b931f07005e
MD5 35b98d8794860a46a9bd0e89022db79a
BLAKE2b-256 baa7feed090772092898f8137822f73f640a17df8b3632128b494f29c726539b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datafuncs-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 2.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 54f2eac27c5fd621caa991d1b208315a7a078a2872352ed4c032d092e83057c7
MD5 c684b5029f1529d69a25da6d8f1447ef
BLAKE2b-256 5913e358e98a77dce6f9f4012741fb36345b7afe12233d82d7ee712173e79e5f

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