xorbits.pandas.Series.ravel#

Series.ravel(order: str = 'C') ArrayLike[source]#

Return the flattened underlying data as an ndarray or ExtensionArray.

Returns

Flattened data of the Series.

Return type

numpy.ndarray or ExtensionArray

See also

numpy.ndarray.ravel

Return a flattened array.

Examples

>>> s = pd.Series([1, 2, 3])  
>>> s.ravel()  
array([1, 2, 3])

Warning

This method has not been implemented yet. Xorbits will try to execute it with pandas.

This docstring was copied from pandas.core.series.Series.