rohdesamuel commented on a change in pull request #14487:
URL: https://github.com/apache/beam/pull/14487#discussion_r612650609



##########
File path: sdks/python/apache_beam/dataframe/frames_test.py
##########
@@ -640,6 +646,26 @@ def change_index_names(df):
 
     self._run_test(change_index_names, df)
 
+  @parameterized.expand((x, ) for x in [
+      0,
+      [1],
+      3,
+      [0, 3],
+      [2, 1],
+      ['foo', 0],
+      [1, 'str'],
+      [3, 0, 2, 1],
+  ])
+  def test_groupby_level_agg(self, level):

Review comment:
       Can you also add a test for doing a groupby on a specific level with a 
hierarchical index please? See 
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.groupby.html
 for an example.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to