Can I specify the schema of a Dataframe that I return from a function?

44 Views Asked by At

Something like

fn parse_and_create_df() -> Dataframe {
    // function returns DF that adheres to a schema I defined.
}

I want to ensure that my API returns a consistent type of Dataframe.

0

There are 0 best solutions below