导出#

将系列数据导出为其他格式:

Series.__array__([dtype, copy])

返回一个具有给定数据类型的NumPy ndarray。

Series.__arrow_c_stream__([requested_schema])

通过Arrow PyCapsule接口导出Series。

Series.to_arrow(*[, compat_level])

返回底层的Arrow数组。

Series.to_frame([name])

将此系列转换为DataFrame。

Series.to_init_repr([n])

将系列转换为可实例化的字符串表示。

Series.to_jax([device])

将此系列转换为Jax数组。

Series.to_list()

将此系列转换为Python列表。

Series.to_numpy(*[, 可写, 允许复制, ...])

将此系列转换为NumPy ndarray。

Series.to_pandas(*[, ...])

将此系列转换为pandas系列。

Series.to_torch()

将此系列转换为PyTorch张量。