pandas.Series.reshape

Series.reshape(*args, **kwargs)[source]

DEPRECATED:调用此方法将在以后的版本中引发错误。请改用.values.reshape(...)

如果指定的形状与当前形状完全匹配,则返回带有shape的ndarray,然后返回self(for compat)

也可以看看

numpy.ndarray.reshape

Scroll To Top