Converts GetOnlineFeaturesResponse features into pyarrow Table. Args: include_event_timestamps: bool Optionally include feature timestamps in the table
(self, include_event_timestamps: bool = False)
| 98 | return pd.DataFrame(self.to_dict(include_event_timestamps)) |
| 99 | |
| 100 | def to_arrow(self, include_event_timestamps: bool = False) -> pa.Table: |
| 101 | """ |
| 102 | Converts GetOnlineFeaturesResponse features into pyarrow Table. |
| 103 | |
| 104 | Args: |
| 105 | include_event_timestamps: bool Optionally include feature timestamps in the table |
| 106 | """ |
| 107 | result = self.to_dict(include_event_timestamps) |
| 108 | result = _convert_uuids_for_arrow(result) |
| 109 | return pa.Table.from_pydict(result) |
| 110 | |
| 111 | def to_tensor( |
| 112 | self, |
no test coverage detected