xorbits.pandas.Series.ravel#

Series.ravel(order: str = 'C') ArrayLike[源代码]#

Return the flattened underlying data as an ndarray or ExtensionArray.

返回

Flattened data of the Series.

返回类型

numpy.ndarray or ExtensionArray

参见

numpy.ndarray.ravel

Return a flattened array.

实际案例

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

警告

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

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