-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: No kwargs in df.apply(raw=True)
#55753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
hi @erezinman in updated pandas version i am not getting error
|
Hi , In existing version , we have the below code which does not have the argument of Kwargs. result = np.apply_along_axis( I think , the upcoming pandas release has the fix for this issue by adding the kwargs as an argument. result = np.apply_along_axis( |
Tentatively marking this as a regression. If someone wants to try and backport a fix for 2.1.x, I'm happy to merge that. |
take |
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
df.apply(raw=True)
should act similarly todf.apply(Raw=False)
. It worked below v2.1.Installed Versions
INSTALLED VERSIONS
commit : a60ad39
python : 3.9.18.final.0
python-bits : 64
OS : Linux
OS-release : 5.15.0-75-generic
Version : #82~20.04.1-Ubuntu SMP Wed Jun 7 19:37:37 UTC 2023
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 2.1.2
numpy : 1.25.2
pytz : 2023.3.post1
dateutil : 2.8.2
setuptools : 67.4.0
pip : 23.0.1
Cython : 3.0.4
pytest : 7.4.3
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader : None
bs4 : None
bottleneck : None
dataframe-api-compat: None
fastparquet : None
fsspec : None
gcsfs : None
matplotlib : None
numba : None
numexpr : 2.8.7
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyreadstat : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
zstandard : None
tzdata : 2023.3
qtpy : None
pyqt5 : None
The text was updated successfully, but these errors were encountered: