Closed
Description
Speculative: DataFrame.from_records if passed a DataFrame goes through internals.construction.to_arrays and ends up splitting the frame into individual columns. This can result in slower subsequent operations if that splitting turned out to be unnecessary. Can we handle DataFrame input inside from_records and avoid this splitting?
This is also the only way we get to to_arrays with a DataFrame input, so the function could be simplified if that case could be ruled out.