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.
Metadata
Release files for daupy 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| daupy-1.0.0.tar.gz | 26.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| daupy-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.9 kB
Release files / daupy-1.0.0.tar.gz
| Download URL | daupy-1.0.0.tar.gz |
|---|---|
| Size | 26.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33e672176b72fe3767588a717a2bf97b6eb5196906028a933ab8eae49b988fa2
|
|
BLAKE2b-256 checksum How to use checksums |
e4e1d6596dec0a360015d8335e404cbcb732a26ef2580f1c9c8eeede7eb03fe0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / daupy-1.0.0-py3-none-any.whl
| Download URL | daupy-1.0.0-py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46c9c0456585d0ad7744a59e7bb41a38d738cb91886032c71dff7dc311499558
|
|
BLAKE2b-256 checksum How to use checksums |
5df1a35d0ec26e339b6c8f20ce87d9a951bea67b149de36fec1df4e68e33db20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|