bayesline.api.equity.UploaderApi.can_handle#
- abstract UploaderApi.can_handle(df: DataFrame, *, parser: str | None = None, name: str | None = None) MultiParserResult #
Parameters#
- df: pl.DataFrame
The dataframe to check if the parser can handle.
- parser: str, optional
The parser to use. If None will check all parsers and choose the first parser that can handle the dataframe.
- name: str | None, optional
The name of the dataframe (which could be the filename). Some parsers might extract information (such as a date) from the name.
Returns#
- MultiParserResult:
The result of the parser check.