aito.api.quick_add_table

aito.api.quick_add_table(client: aito.client.aito_client.AitoClient, input_file: Union[pathlib.Path, os.PathLike], table_name: str = None, input_format: str = None)

Create a table and upload a file to the table, using the default inferred schema

Parameters
  • client (AitoClient) – the AitoClient instance

  • input_file (Union[Path, PathLike]) – path to the input file to be uploaded

  • table_name (Optional[str]) – the name of the table, defaults to the name of the input file

  • input_format (Optional[str]) – specify the format of the input file, defaults to the input file extension