目录:
一、字段数据类型转换:.astype()
二、数据重塑:melt、pivot_table
三、resample函数:pandas.DataFrame.resample
四、筛选:字符串包含xx(contains、startswith、endswith)
五、筛选:bool(好用)
六、合并函数(含join):concat;merge
七、“分列”字符串:.str.split(expend=True)
一、字段数据类型转换:.astype()
强制转换:
(举例:)
pd.DataFrame().astype('float')
二、数据重塑:melt、pivot_table
链接:
Pandas reshape相关函数介绍(pivot,pivot_table,stack,unstack,melt)blog.csdn.net