User Tools

Site Tools


tutorials:python_quick_reference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorials:python_quick_reference [2021/08/03 16:02]
marcus.williams [Data interrogation]
tutorials:python_quick_reference [2021/08/03 16:07]
marcus.williams [Data interrogation]
Line 109: Line 109:
     columns=['​strucType'​],​     columns=['​strucType'​],​
     margins=True,​     margins=True,​
-    aggfunc=len)+    aggfunc=np.sum)
 </​code>​ </​code>​
 [[http://​pandas.pydata.org/​pandas-docs/​stable/​generated/​pandas.pivot_table.html#​pandas.pivot_table|ref]] | [[http://​pandas.pydata.org/​pandas-docs/​stable/​generated/​pandas.pivot_table.html#​pandas.pivot_table|ref]] |
tutorials/python_quick_reference.txt ยท Last modified: 2021/08/06 22:20 by marcus.williams