Skip to content

Commit

Permalink
docstring order
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Nov 21, 2018
1 parent 5366950 commit c818a8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pandas/core/arrays/array_.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ def array(data, dtype=None, copy=False):
change. We recommend specifying `dtype` to ensure that the correct
array type is constructed.
See Also
--------
numpy.array : construct a NumPy array
Series : construct a pandas Series
Examples
--------
If a dtype is not specified, `data` is passed through to
Expand Down Expand Up @@ -98,6 +93,11 @@ def array(data, dtype=None, copy=False):
>>> pd.array([1, 2, np.nan], dtype='Int64')
IntegerArray([1, 2, nan], dtype='Int64')
See Also
--------
numpy.array : construct a NumPy array
Series : construct a pandas Series
"""
from pandas.core.arrays import period_array, ExtensionArray

Expand Down

0 comments on commit c818a8f

Please sign in to comment.