Skip to content

About

Hands-on Python learning repository covering programming fundamentals, data structures, data preprocessing, and exploratory data analysis.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Python Learning Lab

A practical collection of Python programming exercises, data preprocessing workflows, data-cleaning experiments, and exploratory data analysis projects.

This repository brings together hands-on implementations and learning exercises covering Python fundamentals and data analysis.

Repository Overview

The repository is organized into four main areas:

Area Description
Python Fundamentals Core Python concepts, control structures, data structures, functions and file handling
Data Preprocessing & Cleaning Data loading, collection, transformation and cleaning using Python
Exploratory Data Analysis Exploratory analysis and data investigation using Jupyter Notebook
Small Projects Archived Python learning projects and practical exercises

Topics Covered

1. Python Fundamentals

  • Variables, data types and operators
  • User input and output
  • Conditional statements
  • Loops and control structures
  • Lists, dictionaries and data structures
  • Functions and lambda expressions
  • map() and functional programming concepts
  • File handling and basic file operations
  • Basic password-validation exercises

2. Data Preprocessing and Cleaning

Practical exercises covering:

  • Loading data from CSV files
  • Reading JSON data
  • Loading data from SQL databases
  • Gathering data from external APIs, including TMDB
  • Data cleaning and preprocessing
  • Handling datasets using Python and Jupyter Notebook
  • Automated data-cleaning experiments

3. Exploratory Data Analysis (EDA)

Hands-on exploratory analysis using Jupyter Notebook and datasets.

The EDA section focuses on understanding datasets, exploring data distributions, identifying patterns and preparing data for further analysis.

4. Small Projects

A collection of archived Python projects and exercises covering basic concepts, control structures and functions.

Technology Stack

  • Python 3
  • Jupyter Notebook
  • Pandas
  • NumPy
  • SQL / MySQL (where applicable)
  • REST APIs
  • Git and GitHub

Repository Structure

python-learning-lab/
├── Basic-fundamental/
├── DataPreprocessingAndCleaning/
├── ExploratoryDataAnalysis/
├── small-projects/
├── config.py
├── requirements.txt
├── .env.example
├── .gitignore
└── README.md

See individual directories for their respective exercises, notebooks and datasets.

Getting Started

Prerequisites

  • Python 3.10 or later
  • pip
  • Git
  • Jupyter Notebook (for notebook exercises)

1. Clone the repository

git clone https://github.com/tyagibijnor/python-learning-lab.git

cd python-learning-lab

2. Create a virtual environment

python3 -m venv .venv

source .venv/bin/activate

3. Install dependencies

python -m pip install --upgrade pip

pip install -r requirements.txt

4. Configure environment variables

Create your local environment file:

cp .env.example .env

Update .env with your own local configuration and credentials.

Security: Never commit .env, API keys, passwords, database credentials or private configuration files.

5. Launch Jupyter Notebook

python -m pip install notebook

jupyter notebook

Open the notebooks under the relevant directories and execute cells in sequence.

Configuration and Security

This project supports environment-based configuration for machine-specific settings.

  • .env stores private local configuration.
  • .env.example documents required configuration variables without real credentials.
  • .gitignore prevents sensitive and generated files from being committed.
  • config.py centralizes configuration and project paths.

Do not store actual credentials or machine-specific absolute paths directly in source code.

Learning Objectives

This repository demonstrates practical experience with:

  1. Python programming fundamentals.
  2. Writing and executing reusable Python scripts.
  3. File handling and data operations.
  4. Working with structured datasets.
  5. Data collection from APIs and databases.
  6. Data preprocessing and cleaning.
  7. Exploratory data analysis.
  8. Jupyter Notebook-based experimentation.
  9. Git and GitHub version control.

Future Improvements

  • Improve code modularity and reusability.
  • Add unit tests for Python scripts.
  • Standardize project documentation.
  • Introduce automated data validation.
  • Add data visualization projects.
  • Expand into machine learning and Generative AI projects.

Author

Navneet Tyagi


This repository is continuously evolving as part of my practical Python, data engineering and AI learning journey.

About

Hands-on Python learning repository covering programming fundamentals, data structures, data preprocessing, and exploratory data analysis.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages