0
votes

I am using

df.groupby(by= xxx, as_index= False)

And get the following error

groupBy() got an unexpected keyword argument 'as_index'
You seem to be confusing pandas and pysparkChris