python内置函数&Pandas常用方法

python内置函数和Pandas常用方法索引文件

python内置函数

lambda()、map()、reduce()、filter()、sorted():https://blog.csdn.net/weixin_46654114/article/details/125640201
zip:https://www.runoob.com/python/python-func-zip.html
round():https://m.runoob.com/python/func-number-round.html

Pandas

df.groupby() 分组:https://blog.csdn.net/HTDiiii/article/details/127000069
df.reset_index 重新设置索引或其level: https://blog.csdn.net/biggolden1/article/details/127400435
df.replace 元素替换:https://blog.csdn.net/m0_62011685/article/details/124716966
pd.cut() 连续数值数据分箱: https://baijiahao.baidu.com/s?id=1667361263878812098&wfr=spider&for=pc
df.stack(), df.unstack() 列索引转最内层行索引、以及逆操作: https://blog.csdn.net/weixin_48964486/article/details/123371907
df_t.columns.droplevel() 删除多级列索引的指定层级索引: https://geek-docs.com/pandas/python-pandas-indexing/how-to-drop-a-level-from-a-multi-level-column-index-in-pandas-dataframe.html
df.iloc() 根据数据位置的行列号进行切片: https://blog.csdn.net/qq_37089628/article/details/87469403
df[].map():
pd.concat() df 对象拼接,默认行拼接,可指定轴进行列拼接: https://blog.csdn.net/Hudas/article/details/123009834

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值