BUG: pandas.DataFrame.apply gives different results between pandas versions 1.1.4 and 1.2.0 #39327
Labels
Apply
Apply, Aggregate, Transform, Map
Bug
Duplicate Report
Duplicate issue or pull request
Needs Tests
Unit test(s) needed to prevent regressions
[ x] I have checked that this issue has not already been reported.
[ x] I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
Problem description
[this should explain why the current behaviour is a problem and why the expected output is a better solution]
The two versions of pandas (1.1.4 and 1.2.0) give different results when
axis=1
Expected Output
They should be the same when
axis=1
Output of
pd.show_versions()
even though my "pandas 1.2.0 environment" is python 3.8.5 while my "pandas 1.1.4 environment" is python 3.7.9, the problem is resolved if I revert the python 3.8.5 environment to pandas 1.1.4.
pandas 1.1.4 environment
pandas 1.2.0 environment
[paste the output of
pd.show_versions()
here leaving a blank line after the details tag]The text was updated successfully, but these errors were encountered: