dataframe sum
时间: 2023-09-28 12:06:59 浏览: 82
pandas-dataframe
DataFrame.sum()函数是用来计算DataFrame对象中的每一列的和。它可以通过指定轴(axis)参数来指定计算的方向,默认是按列计算。skipna参数用于指定是否跳过缺失值,默认是不跳过。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [dataframe.sum()函数](https://blog.csdn.net/vuvu_an/article/details/78926102)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [【pandas】 DataFrame 对象的常用计算方法(sum、mean、max、min、idxmax、idxmin、cumsum、mad、std、var...](https://blog.csdn.net/tz_zs/article/details/81252710)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文