Skip to main content

A package containing the necessary functions to smoothly run the analysis in DSCI-310-Group-1

Project description

grouponefunctions

A package containing the necessary functions to smoothly run the analysis in DSCI-310-Group-1.

Installation

Note: The installation is not likely to proceed for Python version lower than 3.9.10. Please check your Python version the code below.

python --version

Then you can install the package by the command below.

pip install grouponefunctions

Usage

grouponefunctions is primarily used for analysis of Predicting students’ grades using multi-variable regression, but contains three general use functions. To implement the functions, import our package grouponefunctions as a module. The package has three functions: splitxy, listfun, and plotsquaredata.

split_xy

split_xy can be used to split data into predictor feature and target variables as follows:

from grouponefunctions.grouponefunctions import split_xy

X_train, y_train = split_xy(train_df, ["feature1", "feature2", "feature3"], target)
X_test, y_test = split_xy(test_df, ["feature1", "feature2", "feature3"], target) 

plot_square_data

This function is capable at creating plots to display in a grid configuration.

from grouponefunctions.grouponefunction import plot_square_data

plot_square_data(X_train, y_train, ["feature1", "feature2", "feature3"], ["title1", "title2", "title3], "This is Plot 1")
plot_square_data(dependent, independednts, ["income"], ["retirement_age"], "Income and Retirement Age Relation")

The third function list_abs

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

grouponefunctions was created by Andres Zepeda Perez, Daniel Hou, Zizhen Guo, Timothy Zhou. It is licensed under the terms of the MIT license.

Credits

grouponefunctions was created with cookiecutter and the py-pkgs-cookiecutter template.

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

grouponefunctions-0.1.7.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

grouponefunctions-0.1.7-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file grouponefunctions-0.1.7.tar.gz.

File metadata

  • Download URL: grouponefunctions-0.1.7.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for grouponefunctions-0.1.7.tar.gz
Algorithm Hash digest
SHA256 462f5cb3474d68844dca17ae5cef6c0c259497e2d3a0fd5c4914395fc0265a4b
MD5 a1bba29c6093770e1248e464ef4f683d
BLAKE2b-256 b1a88789b18d182f93237acdfe535a5562057397f3b79954c839d4a30c5957c1

See more details on using hashes here.

File details

Details for the file grouponefunctions-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for grouponefunctions-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 08b7df9cc560283478977d8bcd89d3a883f5bee945627e07e249aebcae37a4dc
MD5 f1bca3cc73bb4ae63ee562d222b961ce
BLAKE2b-256 2af1ef2ace836b7fe420fcf211ebb5e179f3c4ffa81db012614b509ee77e9af6

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