I am handling sql on python, and I'm more familiar with pandas dataframe than SQL statements so I want to import whole data on MySQL DB and handle it on python. And, I'm now a little afraid of my memory error.
Is pandas needs memory for containing all data? or is it enough even if memory is small enough to just contain the results?
import pandas as pd
import sqlalchemy
engine = sqlalchemy.create_engine("mysql://" + "root" + ":" + "password" + "@" + "localhost" + "/" + "mydb")
df = pd.read_sql_table('table1', engine)
# some operations
print(df)