pandas / 0.25.0 / reference / api / pandas.series.from_array.html /

pandas.Series.from_array

classmethod Series.from_array(arr, index=None, name=None, dtype=None, copy=False, fastpath=False) [source]

Construct Series from array.

Deprecated since version 0.23.0: Use pd.Series(..) constructor instead.

Returns:
Series

Constructed Series.

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.Series.from_array.html