Skip to main content

rmasemone

Print the full Python source of six RMA practicals in Jupyter output cells. The functions print code; they do not execute the practicals. No scientific packages or CSV files are needed to print the code.

import rmasemone

rmasemone.prac1()
rmasemone.prac2()
rmasemone.prac3()
rmasemone.prac4()
rmasemone.prac5()
rmasemone.prac6()
rmasemone.show(6)
code = rmasemone.get_code(6)

Practical contents

  1. Retail transaction exploration and cleaning
  2. Exploratory data analysis and boxplots
  3. Descriptive statistics and distribution analysis
  4. Retail feature engineering
  5. Multiple linear regression
  6. Binary logistic regression

The source is extracted from the six supplied code-only notebooks. The practical text contains no comments.

Running the printed code

Copy the printed code to a new code cell. Install pandas, numpy, matplotlib, seaborn, scipy, statsmodels, scikit-learn and patsy. Supply the original CSV datasets alongside the notebook: Retail_Transaction_Dataset.csv, Retail_Data.csv, Performance Index.csv, Performance Index new.csv and BANK LOAN.csv. Actual results depend on these files. Runtime checks of the source used schema-matched sample data, not the original datasets.

Local installation

From this project folder:

python -m pip install .
python -m unittest discover -s tests

See PUBLISH_GUIDE.md for publishing steps.

Metadata

Release files for rmasemone 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rmasemone 0.1.0
File Size Uploaded
rmasemone-0.1.0.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rmasemone 0.1.0
File Interpreter ABI Platform
rmasemone-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / rmasemone-0.1.0.tar.gz

Download URL rmasemone-0.1.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
90f4c50fc04cacc3987cc20807bb290a9064407f3d24ec03bead14ab8d6cf503
BLAKE2b-256 checksum
How to use checksums
d6e417e3b24eea726c752decdf53d97bf808bbe7d8ee5e1ac5a253fde6bbd596
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Release files / rmasemone-0.1.0-py3-none-any.whl

Download URL rmasemone-0.1.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d64b9541b5179ad7ca463fb5614061da6ab557b55afd8f883ba9105be15cd78
BLAKE2b-256 checksum
How to use checksums
bfa818b993bf9399de5ab14049a212bed4c57223992b50dc667f3d21c05f69be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page