Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11304

groupby(Series).size() on a filtered dataframe is incorrect

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.25.0
    • 2.26.0
    • sdk-py-core
    • None

    Description

      e.g. df[df.value > x].groupby(df.group).size() produces the wrong value. It returns the sizes of the unfiltered dataset

      Attachments

        Issue Links

          Activity

            People

              bhulette Brian Hulette
              bhulette Brian Hulette
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m