问题 I have a dataframe with None values in one column. I would like to replace this None values with the maximum value of the "category" for the same combination of other columns. Example: pandas dataframe import pandas as pd d = {'company': ['Company1', 'Company1', 'Company1', 'Company1', 'Company2', 'Company2'], 'product': ['Product A', 'Product A', 'Product F', 'Product A', 'Product F', 'Product F'], 'category': ['1', None, '3', '2', None, '5']} df = pd.DataFrame(d) company product category 0