NamLQ / MySQL-SQLAlchemy-Pandas

Emulating MySQL codes by Pandas and SQLAlchemy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MySQL - SQLAlchemy - Pandas

These notebooks contain MySQL and Pandas code equivalents. Pandas uses the SQLAlchemy module to connect to MySQL databases and perform database operations.

These MySQL codes are mainly taken from mysqltutorial.org with minor modifications for easier comparison with Pandas codes.

I also provided some tips for configuring MySQL users and passwords.

Remember to load the Sample Database into MySQL Server before running the notebooks.

Happy coding!

Code example

MySQL Recursive CTE:

MySQL RECURSIVE CTE

Emulated Pandas code:

Emulated Pandas code Emulated Pandas code

Recently added 🆕 ✨

Table of Content

Related resources

My Pandas codes are mainly inspired by this awesome Pandas Cookbook:

Contributing

If there are any problems or suggestions, feel free to suggest them on the issues page.

About

Emulating MySQL codes by Pandas and SQLAlchemy

License:MIT License


Languages

Language:Jupyter Notebook 100.0%