失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > Pandas API 文档索引中文翻译版(一)—— Series

Pandas API 文档索引中文翻译版(一)—— Series

时间:2023-03-13 16:37:15

相关推荐

Pandas API 文档索引中文翻译版(一)—— Series

说明:以Pandas官方API文档/docs/reference/index.html为依据,根据使用频率对次序稍作整理,翻译API功能,计划补充API详细解读。

当前版本:1.3.4

Series

Constructor:构造函数

Attributes:属性

Axes

Conversion:转换

Indexing, iteration:索引,迭代

For more information on.at,.iat,.loc, and.iloc, see the indexing documentation.

Binary operator functions:二元操作符函数

Function application, GroupBy & window:应用函数、分组和窗口

Computations / descriptive stats:计算,描述性统计

Reindexing / selection / label manipulation:索引/选择/标签操作

Missing data handling:处理缺失值

Reshaping, sorting:重构,排序

Combining / comparing / joining / merging:对比,合并,连接

Time Series-related

Accessors:存取器

pandas provides dtype-specific methods under various accessors. These are separate namespaces withinSeriesthat only apply to specific data types.

Datetimelike properties:类日期时间属性

Series.dtcan be used to access the values of the series as datetimelike and return several properties. These can be accessed likeSeries.dt.<property>.

Series.dt可以用于获取类日期时间Series的值,并返回若干属性。 These can be accessed likeSeries.dt.<property>.

Datetime properties:日期时间属性

Datetime methods:日期时间方法

Period properties

Timedelta properties

Timedelta methods

String handling:字符串处理

Series.strcan be used to access the values of the series as strings and apply several methods to it. These can be accessed likeSeries.str.<function/property>.

Categorical accessor

Categorical-dtype specific methods and attributes are available under theSeries.cataccessor.

Sparse accessor

Sparse-dtype specific methods and attributes are provided under theSeries.sparseaccessor.

Flags

Flags refer to attributes of the pandas object. Properties of the dataset (like the date is was recorded, the URL it was accessed from, etc.) should be stored inSeries.attrs.

Metadata:元数据

Series.attrsis a dictionary for storing global metadata for this Series.

Warning

Series.attrsis considered experimental and may change without warning.

Plotting:绘图

Series.plotis both a callable method and a namespace attribute for specific plotting methods of the formSeries.plot.<kind>.

Serialization / IO / conversion:序列化/IO/转换

如果觉得《Pandas API 文档索引中文翻译版(一)—— Series》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。