orbitra.lake.models.input_table_parser
Functions
convert_api_input_to_df
data: The input data to convert.format: The format of the input data, either “records” or “list”.
- pd.DataFrame: A DataFrame containing the input data.
parse_df_to_table_format
metadata: The schema of the table to validate against.df: The input DataFrame to convert, which must include schema columns.
- pd.DataFrame: A DataFrame containing the input data, with additional attributes and validations applied.