Skip to main content

readers.from_frame()

A Dataset from a pandas or polars frame or a pyarrow table.

Usage

Source

readers.from_frame(
    obj, *, date=None, frequency=None, columns=None, source=None
)

Non-pandas input is converted through narwhals. The dates are the date column, else the index when it holds periods or dates, else the first column. source, when given, is recorded in each series’ metadata.