!pip install pivottablejs
from pivottablejs import pivot_ui
- 在当前jupyter中输出
pivot_ui(df,outfile_path=‘pivottablejs.html’)
-
输出到本地html文件
pivot_ui(df, outfile_path=“yourpathname.html”) -
小结:
都无法保存透视表结果,可能因为是js的缘故。
!pip install pivottablejs
from pivottablejs import pivot_ui
输出到本地html文件
pivot_ui(df, outfile_path=“yourpathname.html”)
小结:
都无法保存透视表结果,可能因为是js的缘故。