0

I have a SQL Alchemy query running in a Jupyter notebook:

results = session.query(func.date_part("Year",CryptoCurr.timestamp_date),func.Max(CryptoCurr.close - CryptoCurr.open)).\
          group_by(func.Date_Part("Year",CryptoCurr.timestamp_date)).limit(10).all() 
print(results)

How can I convert the results (data) into a pandas dataframe?

marc_s
  • 704,970
  • 168
  • 1,303
  • 1,425
Hima
  • 73
  • 1
  • 9

0 Answers0