Skip to main content

daupy

Datasets for the book Data Analysis Using Python: Theory and Practice by Professor Dr. Mohammad Shahidul Islam. It is the Python edition of Sampling and Data Analysis Using R.

daupy is the Python companion to the R package dauR. It ships the same curated datasets used throughout the book so that every worked example is fully reproducible.

Installation

pip install daupy

Usage

import daupy

# What is available?
daupy.list_datasets()

# Load a dataset as a pandas DataFrame
case_study = daupy.load_dataset("case_study")
case_study.head()

# Read the documentation for a dataset
daupy.describe("Health")

Datasets

Name Rows Purpose
case_study 30 Descriptive analysis (library survey)
Health 80 Descriptive analysis / estimation (factory labourers)
likert_data 15 Ordinal / Likert-scale data
reading 200 Mediation, moderation, confounding
smoke_class 198 Contingency tables, test of association
twoway 60 Two-way ANOVA
weight1 16 Paired comparison (before)
weight2 16 Paired comparison (after)
students_data 20 PCA and factor analysis
eng_data 223 Survival analysis

License

Datasets are released under CC BY 4.0, matching the original dauR package.

Citation

If you use these datasets in published work, please cite the book:

Islam, M. S. (2026). Data Analysis Using Python: Theory and Practice.

License

The datasets are released under CC-BY-4.0. You may share and adapt them, including commercially, provided you give appropriate credit.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

daupy-1.0.0.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

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

daupy-1.0.0-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file daupy-1.0.0.tar.gz.

File metadata

  • Download URL: daupy-1.0.0.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for daupy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 33e672176b72fe3767588a717a2bf97b6eb5196906028a933ab8eae49b988fa2
MD5 39790fff3ca2d3587eb8b04a984c3dc3
BLAKE2b-256 e4e1d6596dec0a360015d8335e404cbcb732a26ef2580f1c9c8eeede7eb03fe0

See more details on using hashes here.

File details

Details for the file daupy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: daupy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for daupy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46c9c0456585d0ad7744a59e7bb41a38d738cb91886032c71dff7dc311499558
MD5 7144f51135a7e852241dc1484d829206
BLAKE2b-256 5df1a35d0ec26e339b6c8f20ce87d9a951bea67b149de36fec1df4e68e33db20

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 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