7. Efficiently Uploading Large Datasets (20x Faster) to MySQL Using Python

preview_player
Показать описание

Code :

import warnings

from sqlalchemy import create_engine

import pandas as pd

# Establish a connection

# Read data from CSV into a Pandas DataFrame

# Write DataFrame to a SQL table

# Close Connection

If you enjoy these tutorials, like the video, give it a thumbs-up, and share these videos with your friends and families if you think they would help him.
Please consider clicking the SUBSCRIBE button to be notified of future videos.

Disclaimer ---

Video is for educational purposes only. Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is permitted by copyright statute that might otherwise be infringing. Non-profit, educational, or personal use tips the balance in favor of fair use.


- Thanks for watching -
Рекомендации по теме
Комментарии
Автор

Hi sir, Your channel is underrated, You really deserve more subsribers content is so clear and crisp, Thank you very much for this knowledge

devisukali
Автор

Awesome. Followed your instructions. Initially I was getting No module named 'MySQLdb'. I had to install mysqlclient and I immediatly got the dataset into database. Thank you sir

osoriomatucurane
Автор

Thank you sir such a great explaination.

harshshah
Автор

Can you use this same logic in sqllite? Or is there a step I have to change?

keagankemp
Автор

I have this use case, there are 2 db, sames schema structure, db_a is up to date, another one db_b does not update. can we apply this approach to insert only new records to db_b?

joeg
Автор

Sir I am having trouble in uninstalling mysql on my system, I am not be able to delete registry keys, pls help, I have tried someyoutube videos in deleting registrly keys but its not working for me

devisukali
Автор

Its taking time to import data ...unable to import Please reply

laxmanreddy
Автор

I am getting error stating that ModuleNotFoundError: No module named 'MySQLdb'

aditipandey
Автор

An error occurred : ModuleNotFoundError: No module named 'MySQLdb' please help

saurabhshiledar