I have the following data frame:
After I perform this operation:
pages = df_ref.groupby("KV").work_p.unique().reset_index()
I'm getting the new dataframe where the data type of the column work_p
is an array. How can I extract/convert it to integer?
I feel like I can achieve the goal also by changing the first step, but as I am new to pandas I, unfortunately, stuck.