Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For most data analysis situations, Fetch Results FetchResults need to be massaged a little bit to be useful.
Here, we show the typical ways FetchResults can be used.

Python

A Code Example in Jupyter Notebook:

Code Block
## continue from above ##
import pandas as pd
df = pd.DataFrame(raw_df.objs.toJson())
df.head()
df.drop('meta', axis=1, inplace=True)
df.drop('type', axis=1, inplace=True)
df.drop('version', axis=1, inplace=True)
df.drop('id', axis=1, inplace=True)
df.head()

Users can operations like after you convert the c3 Dataset into the pandas dataframethen use the resulting dataframe as they normally would.

ExpressionEngineFunctions

...