Guest User

Untitled

a guest
Jan 18th, 2019
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. pd.pivot_table(a,index=['Vendor_No.'],)
  2. f=pd.pivot_table(a,index=["Vendor_No.","period"],values=["Invoice_Amount"],
  3. aggfunc=[np.sum],fill_value=0,margins=True)
  4. f
Add Comment
Please, Sign In to add comment