pandas.Series.ravel

Series.ravel(self, order='C')[source]

Return the flattened underlying data as an ndarray.

Returns
numpy.ndarray or ndarray-like

Flattened data of the Series.