FeatureVector
to_pandas(), to_dict(), or to_numpy().
Methods​
| Name | Description |
|---|---|
to_dict(...) | Turns vector into a Python dict. |
to_numpy(...) | Turns vector into a numpy array. |
to_pandas(...) | Turns vector into a Pandas DataFrame. |
to_dict(...)​
Turns vector into a Python dict.Parameters
return_effective_times: bool = FalseWhether to return the effective time of the feature.
Returns
Dict[str,Union[int, str, bytes, float, list, dict, NoneType]]: A Python dict.to_numpy(...)​
Turns vector into a numpy array.Parameters
return_effective_times: bool = FalseWhether to return the effective time of the feature as part of the list.
Returns
array: A numpy array.to_pandas(...)​
Turns vector into a Pandas DataFrame.Parameters
return_effective_times: bool = FalseWhether to return the effective time of the feature as part of the DataFrame.