Converts GetOnlineFeaturesResponse features into Panda dataframe form. Args: include_event_timestamps: bool Optionally include feature timestamps in the dataframe
(self, include_event_timestamps: bool = False)
| 88 | return response |
| 89 | |
| 90 | def to_df(self, include_event_timestamps: bool = False) -> pd.DataFrame: |
| 91 | """ |
| 92 | Converts GetOnlineFeaturesResponse features into Panda dataframe form. |
| 93 | |
| 94 | Args: |
| 95 | include_event_timestamps: bool Optionally include feature timestamps in the dataframe |
| 96 | """ |
| 97 | |
| 98 | return pd.DataFrame(self.to_dict(include_event_timestamps)) |
| 99 | |
| 100 | def to_arrow(self, include_event_timestamps: bool = False) -> pa.Table: |
| 101 | """ |