Creating a dataframe in pandas by multiplying two series together
Posted
by
Aoife
on Stack Overflow
See other posts from Stack Overflow
or by Aoife
Published on 2013-10-24T15:50:32Z
Indexed on
2013/10/24
15:53 UTC
Read the original article
Hit count: 391
Say I have two series in pandas, series A and series B. How do I create a dataframe in which all of those values are multiplied together, i.e. with series A down the left hand side and series B along the top. Basically the same concept as this, where series A would be the yellow on the left and series B the yellow along the top, and all the values in between would be filled in by multiplication:
Thanks!
© Stack Overflow or respective owner