"python x sql" I'm a beginner, so I stumbled upon reading the data.
I want to be able to breathe this much.
loadDB.py
import pandas as pd
from sqlalchemy import create_engine
df = pd.read_sql_table("table name",create_engine("mysql://root:[email protected]:3306/Database name").connect())
Completion of the table.
3306 seems to be the default port number for mysql.
In a computer network, a port is an endpoint for an operating system to perform data communication. (From wikipedia)
···Yes.
I wonder if I have to understand this much as a CS major ...
Recommended Posts