Skip to main content

Retrieve DS practical assignment codes and problem statements by number (10 assignments)

Project description

ds-practicals

A zero-dependency Python package to retrieve Data Science practical assignment codes, titles, and problem statements by number (10 assignments).

Installation

pip install ds-practicals

Usage

from ds_practicals import get_code, get_title, get_statement, get_assignment, list_assignments

# List all 10 assignments
for n, title in list_assignments():
    print(n, title)

# Get title for assignment 1
print(get_title(1))
# → "Data Wrangling I"

# Get the full problem statement for assignment 3
print(get_statement(3))
# → "Descriptive Statistics - Measures of Central Tendency and Variability\n\n1. Provide summary statistics..."

# Get code for assignment 2
print(get_code(2))

# Get title, statement, and code as a dict
a = get_assignment(1)
print(a["title"])
print(a["statement"])
print(a["code"])

Assignments

# Title
1 Data Wrangling I
2 Data Wrangling II
3 Descriptive Statistics - Measures of Central Tendency and Variability
4 Data Analytics I - Linear Regression
5 Data Analytics II - Logistic Regression
6 Data Analytics III - Naive Bayes
7 Text Analytics
8 Data Visualization I
9 Data Visualization II
10 Data Visualization III

API Reference

Function Returns Description
list_assignments() list[tuple[int, str]] All (number, title) pairs
get_title(n) str Title of practical n
get_statement(n) str Full problem statement for practical n
get_code(n) str All code cells from practical n concatenated
get_assignment(n) dict {"title", "statement", "code"} for practical n

License

MIT

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

ds_practicals_pvg-1.0.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

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

ds_practicals_pvg-1.0.0-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ds_practicals_pvg-1.0.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for ds_practicals_pvg-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f3dab10c5d8bdcd9d8be8d99ed83ec8215d4cb3104968f6b6ab76c7d866102f5
MD5 1b5cbfd5c9bf1baed1a417b8a944705f
BLAKE2b-256 e0080addafe17bf154a5fbf4a132d1e3117ef0afcc1ad2dbaefb20b12e470a79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ds_practicals_pvg-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17da14b7abfac7cae60f779fc9bcf3359ecd53f0327be8a09c6be34d972eb432
MD5 3dbe5b0a38b6d9c89abc2c3785b47124
BLAKE2b-256 a550966898131442b079af1ccf4aacd81dff08cd76488cded445db5394fd0ac0

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