sf_quant.data.get_crsp_daily_columns#
- sf_quant.data.get_crsp_daily_columns() str#
Return the available columns in the CRSP daily dataset.
This function provides a schema of all CRSP daily fields that can be retrieved with
load_crsp_daily(). The output is a string representationPolars DataFrame listing each column name along with its corresponding data type.Returns#
- str
A string representation of a polars data frame containing the column names and types for the assets table.
Examples#
>>> import sf_quant as sf >>> sf.data.get_assets_columns() shape: (30, 2) ┌──────────────────────┬─────────┐ │ column ┆ dtype │ │ --- ┆ --- │ │ str ┆ str │ ╞══════════════════════╪═════════╡ │ date ┆ Date │ │ rootid ┆ String │ │ barrid ┆ String │ │ issuerid ┆ String │ │ instrument ┆ String │ │ ... ┆ ... │ └──────────────────────┴─────────┘