This document describes a student project on connecting MySQL to Python. The project aims to perform CRUD (create, read, update, delete) operations on a MySQL database using Python code. It also aims to convert the MySQL data to a CSV file and then visualize the CSV data in matplotlib charts. The document outlines the various steps taken - creating tables, inserting records, printing records, deleting records, updating records, converting to CSV, and plotting the CSV data. It includes the coding snippets and outputs at each step.
This document describes a student project on connecting MySQL to Python. The project aims to perform CRUD (create, read, update, delete) operations on a MySQL database using Python code. It also aims to convert the MySQL data to a CSV file and then visualize the CSV data in matplotlib charts. The document outlines the various steps taken - creating tables, inserting records, printing records, deleting records, updating records, converting to CSV, and plotting the CSV data. It includes the coding snippets and outputs at each step.
This document describes a student project on connecting MySQL to Python. The project aims to perform CRUD (create, read, update, delete) operations on a MySQL database using Python code. It also aims to convert the MySQL data to a CSV file and then visualize the CSV data in matplotlib charts. The document outlines the various steps taken - creating tables, inserting records, printing records, deleting records, updating records, converting to CSV, and plotting the CSV data. It includes the coding snippets and outputs at each step.
AIM of The Project The main AIM of our project is to establish MySQL connectivity with python and perform various operations like Insertion, Updation, Deletion on the given data using python. Also to convert a MySQL document into a CSV file. And at last we will visualise that CSV file using Bar Chart, Scatter Chart, etc. ACKNOWLEDGEMENT I would like to express my special thanks of gratitude to my teacher Ms INDU who gave me the golden opportunity to do this wonderful project on the topic MY SQL connectivity , which helped me to discover the method to connect MY SQL with Python. I am really thankful to her. Secondly I would like to thank my parents and friends who helped me a lot in finalizing this project within the limited time frame. CERTIFICATE
THIS IS TO CERTIFY THAT HARMEET
KAUR AND GOURVI ARORA OF CLASS XII HAS SUCESSFULLY COMPLETED THEIR INFORMATION PRACTICES PROJECT ON THE TOPIC “MY SQL CONNECTIVITY” AS PRESCRIBED BY Ms. INDU SHARMA , DURING THE ACADEMIC YEAR 2020-2021 AS PER THE GUIDELINES ISSUED BY CENTRAL BOARD OF SECONDARY EDUCATION – CBSE ➢Creation of database and table… ➢DESCRIPTION OF THE TABLE… ➢Inserting Records In The Table… CODING: OUTPUT: ➢Printing Each Record… Using Dataframe(CODING): Using dataframe(OUTPUT): Using MySQL: ➢Deleting Records In The Table… CODING: OUTPUT: ➢ Impact On Table (IN PYTHON) BEFORE DELETION AFTER DELETION ➢Impact On Table (IN MYSQL) BEFORE DELETION AFTER DELETION ➢Updating Record In The Table… CODING: OUTPUT: ➢Impact On Table (IN PYTHON) BEFORE UPDATION AFTER UPDATION ➢ Impact On Table (IN MYSQL) BEFORE UPDATION AFTER UPDATION Converting Mysql Document To CSV File CODING: OUTPUT: Converting CSV File To Matplotlib Chart CODING: OUTPUT: