会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
The future of you, waiting for you in the future.
Geoffrey
Long, long the pathway to Cold Hill;
Drear, drear the waterside so chill.
返回顶部
Geoffrey
博客园
首页
新随笔
联系
订阅
管理
2022年1月5日
Python、Excel、MySQL 基于数据分层,打标签
摘要: pandas.cut() 用来将数据划分为不同的区间 x:array型数据 DataFrame每列数据都是array型数据 bins:传入int型数据,表示划分的区间个数,传入list型数据,表示自定义的区间 labels: 与bins对应区间的标签(默认为None) retbins:True表示返
阅读全文
posted @ 2022-01-05 14:56 Geoffreygau
阅读(357)
评论(0)
推荐(0)
公告