w3resource

Pandas Series property: values

Series as ndarray or ndarray-like in Pandas

The series-values property is used to get Series as ndarray or ndarray-like depending on the dtype.

Syntax:

Series.values
Pandas Series value property.

Returns: numpy.ndarray or ndarray-like

Example:


Download the above Notebook from here.

Previous: An ExtensionArray in Pandas
Next: Memory usage of Pandas Series