I have a DataFrame of 2 columns,
Index - which are grouped code numbers
frequency - which is the no of elements in that group.
I want to find the elements in that group. How do I do it?
I tried using MY_DF = DF_1.get_group('12345678')
. It gives me
AttributeError: 'DataFrame' object has no attribute 'get_group'
Expected output is rows and columns of elements having code no 12345678