Q. Explain the concept of GROUP BY with help on an example.
Answer :-
In pandas, DataFrame.GROUP BY() function is used to split the data into groups based on some criteria.
Pandas objects like a DataFrame can be split on any of their axes.
The GROUP BY function works based on a split-apply-combine strategy.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )