w3resource

Pandas Series: values() function

Series as ndarray or ndarray-like in Pandas

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

Syntax:

Series.values
Pandas Series value() function

Returns: numpy.ndarray or ndarray-like

Example:


Download the above Notebook from here.

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