1. Technology

Pandas DataFrames in the Python SDK

Learn how to easily convert API response results in the Intrinio Python SDK into a Pandas DataFrame.

When performing technical analysis with the Intrinio Python SDK, it's often helpful to convert the results of an API response into a Pandas DataFrame. 

If you've tried to do this with the documented properties of our API response objects, you've probably run into some difficulties. 

for example:


results in:


...which is not particularly useful.

Good news! There are dictionary-formatted versions of each documented property available on the API response object which play nicely with Pandas. Simply add an '_dict' to the property name.

for example:


results in:


Bingo!

Did this answer your question?