torch_frame.utils.infer_series_stype
- infer_series_stype(ser: Series) torch_frame._stype.stype | None[source]
Infer
stypegivenSeriesobject. The inference may not be always correct/best for your data. We recommend you double-checking the correctness yourself before actually using it.- Parameters:
ser (Series) – Input series.
- Returns:
- Inferred
stype. ReturnsNoneif inference failed.
- Inferred
- Return type:
Optional[stype]