I noticed after I do a groupby in a dataframe and try to read the entire dataframe after that, the variable used for groupby doesnt show.
abc_df= merged_df.groupby[['Name', 'Gender']).first
When I try to call the variable abc_df['Name']
, it doesn't show.
Is there a way to solve this?
Thanks