You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiplication of series and other, element-wise (binary operator mul).
...
Examples:
a = pd.Series([1, 1, 1, np.nan], index=['a', 'b', 'c', 'd'])
a
a 1.0
b 1.0
c 1.0
d NaN
dtype: float64
b = pd.Series([1, np.nan, 1, np.nan], index=['a', 'b', 'd', 'e'])
b
a 1.0
b NaN
d 1.0
e NaN
dtype: float64
a.add(b, fill_value=0)
a 2.0
b 1.0
c 1.0
d 1.0
e NaN
dtype: float64
[Example in pandas.Series.multiply Examples demonstrates the wrong function (add). Update to show multiply function as suggested above.]
Note: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates!
Note: Many problems can be resolved by simply upgrading pandas to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if master addresses this issue, but that is not necessary.
For documentation-related issues, you can check the latest versions of the docs on master here:
Code Sample, a copy-pastable example if possible
Series.multiply(other, level=None, fill_value=None, axis=0)
...
Examples:
Problem description
[Example in pandas.Series.multiply Examples demonstrates the wrong function (add). Update to show multiply function as suggested above.]
Note: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates!
Note: Many problems can be resolved by simply upgrading
pandas
to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check ifmaster
addresses this issue, but that is not necessary.For documentation-related issues, you can check the latest versions of the docs on
master
here:https://pandas-docs.github.io/pandas-docs-travis/
If the issue has not been resolved there, go ahead and file it in the issue tracker.
Expected Output
Output of
pd.show_versions()
[paste the output of
pd.show_versions()
here below this line]The text was updated successfully, but these errors were encountered: