Skip to content

Commit 6309d04

Browse files
DOC: fix ES01 for pandas.array (pandas-dev#60889)
1 parent 9001cb2 commit 6309d04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/core/construction.py

+4
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ def array(
8181
"""
8282
Create an array.
8383
84+
This method constructs an array using pandas extension types when possible.
85+
If `dtype` is specified, it determines the type of array returned. Otherwise,
86+
pandas attempts to infer the appropriate dtype based on `data`.
87+
8488
Parameters
8589
----------
8690
data : Sequence of objects

0 commit comments

Comments
 (0)