BUG: DataFrameGroupBy.apply
does not take into account the value of as_index
field
#53649
Closed
2 of 3 tasks
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
as_index
parameter does not affect the result ofapply
.Expected Behavior
Installed Versions
pandas 2.0.2
-- Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered: