I got my file be a varible data_batch that is Vec now I want to convert to to polars DataFrame(df). I have no idea how to do this. There are no examples of this ...
I expect a way to convert to polars dataframe to be possible as I have properly formatted batches with schema applied.
works up to here for now
let batches = Reader::new(cursor, S3File::get_schema().into(), DecoderOptions::new())
.into_iter()
.collect::<Result<Vec<_>, _>>()
.unwrap();
println!("{:?}", batches);
// how to make batches a dataframe in polars?