@@ -305,13 +305,14 @@ def read_sql_table(
305
305
chunksize : int, default None
306
306
If specified, returns an iterator where `chunksize` is the number of
307
307
rows to include in each chunk.
308
- dtype_backend : {"numpy_nullable", "pyarrow"}, defaults to NumPy backed DataFrames
309
- Which dtype_backend to use, e.g. whether a DataFrame should have NumPy
310
- arrays, nullable dtypes are used for all dtypes that have a nullable
311
- implementation when "numpy_nullable" is set, pyarrow is used for all
312
- dtypes if "pyarrow" is set.
308
+ dtype_backend : {'numpy_nullable', 'pyarrow'}, default 'numpy_nullable'
309
+ Back-end data type applied to the resultant :class:`DataFrame`
310
+ (still experimental). Behaviour is as follows:
313
311
314
- The dtype_backends are still experimential.
312
+ * ``"numpy_nullable"``: returns nullable-dtype-backed :class:`DataFrame`
313
+ (default).
314
+ * ``"pyarrow"``: returns pyarrow-backed nullable :class:`ArrowDtype`
315
+ DataFrame.
315
316
316
317
.. versionadded:: 2.0
317
318
@@ -443,13 +444,14 @@ def read_sql_query(
443
444
{‘a’: np.float64, ‘b’: np.int32, ‘c’: ‘Int64’}.
444
445
445
446
.. versionadded:: 1.3.0
446
- dtype_backend : {"numpy_nullable", "pyarrow"}, defaults to NumPy backed DataFrames
447
- Which dtype_backend to use, e.g. whether a DataFrame should have NumPy
448
- arrays, nullable dtypes are used for all dtypes that have a nullable
449
- implementation when "numpy_nullable" is set, pyarrow is used for all
450
- dtypes if "pyarrow" is set.
447
+ dtype_backend : {'numpy_nullable', 'pyarrow'}, default 'numpy_nullable'
448
+ Back-end data type applied to the resultant :class:`DataFrame`
449
+ (still experimental). Behaviour is as follows:
451
450
452
- The dtype_backends are still experimential.
451
+ * ``"numpy_nullable"``: returns nullable-dtype-backed :class:`DataFrame`
452
+ (default).
453
+ * ``"pyarrow"``: returns pyarrow-backed nullable :class:`ArrowDtype`
454
+ DataFrame.
453
455
454
456
.. versionadded:: 2.0
455
457
@@ -576,13 +578,14 @@ def read_sql(
576
578
chunksize : int, default None
577
579
If specified, return an iterator where `chunksize` is the
578
580
number of rows to include in each chunk.
579
- dtype_backend : {"numpy_nullable", "pyarrow"}, defaults to NumPy backed DataFrames
580
- Which dtype_backend to use, e.g. whether a DataFrame should have NumPy
581
- arrays, nullable dtypes are used for all dtypes that have a nullable
582
- implementation when "numpy_nullable" is set, pyarrow is used for all
583
- dtypes if "pyarrow" is set.
581
+ dtype_backend : {'numpy_nullable', 'pyarrow'}, default 'numpy_nullable'
582
+ Back-end data type applied to the resultant :class:`DataFrame`
583
+ (still experimental). Behaviour is as follows:
584
584
585
- The dtype_backends are still experimential.
585
+ * ``"numpy_nullable"``: returns nullable-dtype-backed :class:`DataFrame`
586
+ (default).
587
+ * ``"pyarrow"``: returns pyarrow-backed nullable :class:`ArrowDtype`
588
+ DataFrame.
586
589
587
590
.. versionadded:: 2.0
588
591
dtype : Type name or dict of columns
@@ -1631,13 +1634,14 @@ def read_table(
1631
1634
chunksize : int, default None
1632
1635
If specified, return an iterator where `chunksize` is the number
1633
1636
of rows to include in each chunk.
1634
- dtype_backend : {{"numpy_nullable", "pyarrow"}}, defaults to NumPy dtypes
1635
- Which dtype_backend to use, e.g. whether a DataFrame should have NumPy
1636
- arrays, nullable dtypes are used for all dtypes that have a nullable
1637
- implementation when "numpy_nullable" is set, pyarrow is used for all
1638
- dtypes if "pyarrow" is set.
1639
-
1640
- The dtype_backends are still experimential.
1637
+ dtype_backend : {'numpy_nullable', 'pyarrow'}, default 'numpy_nullable'
1638
+ Back-end data type applied to the resultant :class:`DataFrame`
1639
+ (still experimental). Behaviour is as follows:
1640
+
1641
+ * ``"numpy_nullable"``: returns nullable-dtype-backed :class:`DataFrame`
1642
+ (default).
1643
+ * ``"pyarrow"``: returns pyarrow-backed nullable :class:`ArrowDtype`
1644
+ DataFrame.
1641
1645
1642
1646
.. versionadded:: 2.0
1643
1647
0 commit comments