This is how my dataframe looks like.
A B CI would like to fill the missing values of A with "most frequent" values of
ice solid Kate ice solid Jake solid Jake tea liquid Lilly tea solid Jake liquid Kate tea liquid Apple ice liquid Apple
A groupby BSo missing values would be
ice for column B with value of solid and tea for value of liquid based on their group by values.How can I get this done.