Skip to content

About

A comprehensive set of Python projects ranging from basic exercises to full applications. Perfect for students, self-learners, and anyone looking to master Python through hands-on experience.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Python-Projects

A comprehensive set of Python projects ranging from basic exercises to full applications. Perfect for students, self-learners, and anyone looking to master Python through hands-on experience.

🏦 Python Bank Account Management System

A simple Bank Account Management System built in Python. This program allows users to create and manage bank accounts, perform transactions (deposit, withdrawal, transfer), view transaction history, and generate summary reports.

It uses file handling with Pickle to persist account and transaction data, and includes error handling, interactive menus, and NumPy for transaction statistics.

✨ Features

βœ… Account Management

Create new accounts (auto-generated account number)

View account details (name, account number, type, balance)

βœ… Transactions

Deposit money

Withdraw money (with balance check)

Transfer money between accounts

βœ… File Handling

Saves account details & transaction history using pickle

Loads saved data when program starts

Appends new transactions without overwriting previous data

βœ… Reports & History

View transaction history (date, type, amount)

Summary statistics using NumPy (total deposits, withdrawals, average transaction)

βœ… User Interaction

Interactive menu-driven interface

Smooth navigation with loops & conditions

βœ… Error Handling

Input validation for positive amounts

Prevent withdrawal beyond available balance

Handle invalid account numbers

βœ… Optional Bonus (if implemented)

User login with username & password

Use of lambda functions for quick calculations

πŸ›  Technologies Used

Python 3.x

Pickle (for saving/loading account data)

NumPy (for summary statistics)

datetime (for transaction timestamps)

πŸ“‚ Project Structure

bash Copy Edit bank_management/ β”‚ β”œβ”€β”€ bank_system.ipynb # Main Jupyter Notebook β”œβ”€β”€ accounts.pkl # Pickle file storing account data β”œβ”€β”€ transactions.pkl # Pickle file storing transaction history └── README.md # Project documentation

πŸš€ How to Run

1️⃣ Clone the Repository git clone https://github.com/your-username/bank-account-management.git cd bank-account-management

2️⃣ Install Requirements (NumPy) pip install numpy

3️⃣ Run the Notebook Open bank_system.ipynb in Jupyter Notebook and run all cells.

πŸ§‘β€πŸ’» Usage

When you run the program, you’ll see an interactive menu:

==== Bank Account Management ====

  1. Open a New Account
  2. View Account Details
  3. Deposit Money
  4. Withdraw Money
  5. Transfer Money
  6. View Transaction History
  7. Exit Enter your choice: Follow the prompts to create accounts, perform transactions, or view reports.

πŸ“Š Example Output

βœ… Creating a new account:

Enter account holder's name: Alice Account type (savings/current): savings Initial balance: 5000 βœ… Account created successfully! Your Account Number is 1001 βœ… Depositing money:

Enter account number: 1001 Enter amount to deposit: 2000 βœ… Deposit successful! New balance: 7000 βœ… Viewing transaction history:

Date | Transaction | Amount 2025-07-26 | Deposit | 2000 2025-07-26 | Withdraw | 500

πŸ“Œ Future Improvements

Implement a login system for multiple users

Add a GUI version using Tkinter or PyQt

Support for interest calculation

🀝 Contributing

Feel free to fork this repository and submit pull requests with improvements!

πŸ“ License

This project is for educational purposes and is free to use.

#######################################################################################

🎬 IMDB Movie Analysis

πŸ“Œ Objective As a data analyst intern at IMDb, the goal of this project is to explore and analyze the IMDb Movies dataset to gain insights into movie trends, popular genres, and key factors that influence a movie's success. This involves answering specific business questions through data wrangling, visualization, and statistical analysis using Python.

🧰 Tools and Libraries The following Python libraries are used in this analysis:

Pandas – For data manipulation and analysis

NumPy – For numerical operations

Matplotlib – For data visualization

Seaborn – For advanced statistical plotting

Warnings & OS – For clean output and file handling

πŸ“‚ Dataset

Source: IMDb Dataset (Google Drive) The dataset contains information on a wide range of movies, including attributes like title, genre, rating, votes, budget, revenue, and more.

Each row represents a unique movie. Each column contains specific attributes related to that movie.

βœ… Tasks & Analysis Workflow

  1. πŸ“¦ Project Setup and Data Loading Load the dataset

Understand the structure using .shape and .head()

  1. πŸ” Data Overview and Basic Exploration Use .info() and .describe() to get initial insights

Identify potential data quality issues

  1. 🧹 Data Cleaning Handle missing values and data type conversions

Detect and treat outliers

  1. πŸ“Š Univariate Analysis Histogram of movie runtimes

Bar chart of most frequent genres

  1. πŸ”— Bivariate Analysis Scatter plot of runtime vs. rating

Box plot of ratings by genre

Correlation between votes, budget, and revenue

  1. 🎭 Genre-Specific Analysis Identify genres with highest average rating

Analyze how genre popularity changes over time

  1. πŸ“† Year & Trend Analysis Trends in average ratings over years

Movie release counts by year

  1. πŸ“‰ Multivariate Analysis Popular genres by decade

Heatmap or pairplot between budget, revenue, ratings

Analysis of genre and year-wise rating patterns

  1. 🧠 Insights and Summary Key Questions: What are three major insights you discovered about movie trends, genres, or ratings?

What other questions could be asked or what additional data would improve the analysis?

πŸ“ˆ Sample Outputs

πŸ“‰ "Drama and Biography genres have the highest average IMDb ratings."

πŸŽ₯ "Action and Sci-Fi genres have surged in popularity since the 2000s."

πŸ’° "Movies with higher budgets tend to receive more votes, but not necessarily higher ratings."

πŸ“Ž Submission Guidelines

Submit the final version as a Jupyter Notebook (.ipynb) via GitHub.

Ensure the notebook is well-commented with clear logic and visualizations.

Include sample outputs and conclusions in markdown cells.

Share only the GitHub repository link.

πŸ“¬ Author

Role: Data Analyst Intern Project: IMDb Movie Analysis Organization: IMDb (Fictional Internship Scenario)

#######################################################################################

πŸ›’ Super Market Billing System

A simple Python-based billing system for a supermarket, built using Jupyter Notebook. This project simulates a point-of-sale (POS) experience where customers can select items from a predefined menu and receive a bill based on their choices.

πŸ“Œ Features

  • Predefined supermarket inventory with 5 common items
  • Price calculation based on quantity
  • User-friendly prompts via console (text input)
  • Simple, modular Python code using lists and dictionaries
  • Easily extendable to include stock management, discounts, categories, and more

🧾 Sample Menu

menu = [ {"sr_no": 1, "name": "Whole Milk (1 Gallon)", "price": 3.49}, {"sr_no": 2, "name": "White Bread (Loaf)", "price": 2.49}, {"sr_no": 3, "name": "Brown Eggs (Dozen)", "price": 3.29}, {"sr_no": 4, "name": "Chicken Breast (per lb)", "price": 5.29}, {"sr_no": 5, "name": "Fuji Apples (per lb)", "price": 1.49} ]

πŸ“Š Customer Sentiment Analysis – iPhone 15 (128GB) Flipkart Reviews

πŸ“Œ Overview

This project analyzes 300 customer reviews for the iPhone 15 (128GB) model from Flipkart, applying text cleaning, sentiment analysis, and insight generation.
The goal is to understand customer sentiment trends, identify recurring issues, and suggest actionable improvements.


πŸ“‚ Data Collection & Cleaning

  • Source: Product review pages from Flipkart (iPhone 15 – 128GB model).
  • Scraping Tools: Python + Selenium for automated data extraction.
  • Fields Collected:
    • username
    • review_text
    • rating
  • Cleaning Steps:
    • Removed special characters and emojis from review text.
    • Converted ratings to numeric type.
    • Handled missing values (none in this dataset).
    • Ensured all columns had equal lengths.

πŸ“ˆ Sentiment Analysis

  • Library Used: TextBlob
  • Metrics:
    • Polarity: Sentiment score from -1 (negative) to +1 (positive).
    • Subjectivity: Score from 0 (objective) to 1 (subjective/opinion-based).

Results Summary:

  • Rating Distribution:
    • ⭐⭐⭐⭐⭐ – Majority (strongly positive sentiment)
    • ⭐⭐⭐⭐ – Moderate share (minor issues)
    • ⭐⭐⭐ or less – Small share (battery, heating, refresh rate complaints)
  • Average Polarity: High positive (~0.6–1.0 for most reviews)
  • Average Subjectivity: High (~0.7–1.0, opinion-heavy)

πŸ” Key Insights

Positive Highlights:

  • Camera quality is the most praised feature (photos & video).
  • Premium, lightweight design with good in-hand feel.
  • Smooth, lag-free performance (A16 Bionic).
  • Display brightness and Dynamic Island appreciated.
  • Seamless integration with the Apple ecosystem.

Negative Themes:

  • Battery drains faster than expected for heavy users.
  • Heating during charging, gaming, or extended camera usage.
  • 60Hz refresh rate feels outdated at this price point.

πŸ’‘ Recommendations

For Apple:

  • Improve battery life and charging efficiency.
  • Optimize thermal management for camera/gaming.
  • Consider higher refresh rate (90–120Hz) in future models.

For Flipkart Marketing:

  • Highlight camera quality, design, and performance in ads.
  • Include real customer photos and testimonials.
  • Be transparent about battery performance and refresh rate.
  • Emphasize deals, exchange offers, and fast delivery.

Data Visualization using Matplot library in Python.

Distribution of positive and negative sentiments for the 300 reviews

Distribution of positive and negative sentiments for the 300 reviews

Average Sentiment Polarity vs Rating

Average Sentiment Polarity vs Rating

Negative Reviews Word Cloud

Negative Reviews Word Cloud

Review Length vs Sentiment

Review Length vs Sentiment

About

A comprehensive set of Python projects ranging from basic exercises to full applications. Perfect for students, self-learners, and anyone looking to master Python through hands-on experience.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages