@@ -2026,17 +2026,17 @@ def read(
20262026 on `LazyDataFrame` for more details.
20272027
20282028 output_format: Optional[Union[OutputFormat, str]], default=None
2029- Controls the output format of the result dataframe.
2030- For more information see documentation of `Arctic.__init__` .
2031- If `None` uses the default output format from the `Library` instance .
2029+ Output format for the returned dataframe.
2030+ If `None`, uses the output format from the `Library` instance .
2031+ See `OutputFormat` documentation for details on available formats .
20322032
20332033 arrow_string_format_default: Optional[Union[ArrowOutputStringFormat, "pa.DataType"]], default=None
2034- If using `output_format=EXPERIMENTAL_ARROW` it sets the output format of string columns for arrow .
2035- See documentation of `ArrowOutputStringFormat` for more information on the different options .
2036- If `None` uses the default arrow_string_format from the `Library` instance .
2034+ String column format when using `PYARROW` or `POLARS` output formats .
2035+ If `None`, uses the `arrow_string_format_default` from the `Library` instance .
2036+ See `ArrowOutputStringFormat` documentation for details on available string formats .
20372037
20382038 arrow_string_format_per_column: Optional[Dict[str, Union[ArrowOutputStringFormat, "pa.DataType"]]], default=None
2039- Provides per column name overrides for `arrow_string_format_default`
2039+ Per- column overrides for `arrow_string_format_default`. Keys are column names.
20402040
20412041 Returns
20422042 -------
@@ -2063,10 +2063,9 @@ def read(
20632063 1 6
20642064 2 7
20652065
2066- Passing an output_format can change the resulting dataframe type. E.g. we can use the experimental arrow output
2067- format:
2066+ Passing an output_format can change the resulting dataframe type. For example, to return a PyArrow table:
20682067
2069- >>> lib.read("symbol", output_format="EXPERIMENTAL_ARROW ").data
2068+ >>> lib.read("symbol", output_format="PYARROW ").data
20702069 pyarrow.Table
20712070 column: int64
20722071 ----
@@ -2128,19 +2127,20 @@ def read_batch(
21282127 documentation on `LazyDataFrameCollection` for more details.
21292128
21302129 output_format: Optional[Union[OutputFormat, str]], default=None
2131- Controls the output format of the result dataframes.
2132- For more information see documentation of `Arctic.__init__` .
2133- If `None` uses the default output format from the `Library` instance .
2130+ Output format for the returned dataframes.
2131+ If `None`, uses the output format from the `Library` instance .
2132+ See `OutputFormat` documentation for details on available formats .
21342133
21352134 arrow_string_format_default: Optional[Union[ArrowOutputStringFormat, "pa.DataType"]], default=None
2136- If using `output_format=EXPERIMENTAL_ARROW` it sets the output format of string columns for arrow.
2137- See documentation of `ArrowOutputStringFormat` for more information on the different options.
2138- It serves as the default for the entire batch. The string format settings inside the `ReadRequest`s will
2139- override this batch level setting.
2135+ String column format when using `PYARROW` or `POLARS` output formats.
2136+ Serves as the default for the entire batch. String format settings in individual `ReadRequest` objects
2137+ override this batch-level setting.
2138+ If `None`, uses the `arrow_string_format_default` from the `Library` instance.
2139+ See `ArrowOutputStringFormat` documentation for details on available string formats.
21402140
2141- arrow_string_format_per_column: Optional[Dict[str, Union[ArrowOutputStringFormat, "pa.DataType"]]], default=None,
2142- Provides per column name overrides for `arrow_string_format_default`. It is only applied to symbols which
2143- don't have a `arrow_string_format_per_column` set in their `ReadRequest`.
2141+ arrow_string_format_per_column: Optional[Dict[str, Union[ArrowOutputStringFormat, "pa.DataType"]]], default=None
2142+ Per- column overrides for `arrow_string_format_default`. Keys are column names.
2143+ Only applied to symbols that don't have `arrow_string_format_per_column` set in their `ReadRequest`.
21442144
21452145 Returns
21462146 -------
@@ -2309,17 +2309,17 @@ def read_batch_and_join(
23092309 individual dataframes, and will be applied to the joined data.
23102310
23112311 output_format: Optional[Union[OutputFormat, str]], default=None
2312- Controls the output format of the result dataframe.
2313- For more information see documentation of `Arctic.__init__` .
2314- If `None` uses the default output format from the `Library` instance .
2312+ Output format for the returned joined dataframe.
2313+ If `None`, uses the output format from the `Library` instance .
2314+ See `OutputFormat` documentation for details on available formats .
23152315
23162316 arrow_string_format_default: Optional[Union[ArrowOutputStringFormat, "pa.DataType"]], default=None
2317- If using `output_format=EXPERIMENTAL_ARROW` it sets the output format of string columns for arrow .
2318- See documentation of `ArrowOutputStringFormat` for more information on the different options .
2319- If `None` uses the default arrow_string_format from the `Library` instance .
2317+ String column format when using `PYARROW` or `POLARS` output formats .
2318+ If `None`, uses the `arrow_string_format_default` from the `Library` instance .
2319+ See `ArrowOutputStringFormat` documentation for details on available string formats .
23202320
23212321 arrow_string_format_per_column: Optional[Dict[str, Union[ArrowOutputStringFormat, "pa.DataType"]]], default=None
2322- Provides per column name overrides for `arrow_string_format_default`
2322+ Per- column overrides for `arrow_string_format_default`. Keys are column names.
23232323
23242324 Returns
23252325 -------
0 commit comments