I am doing the basic Data Exploration with 2 fields Outlet Type :
array(['Supermarket Type1', 'Grocery Store', 'Supermarket Type3',
'Supermarket Type2'], dtype=object)
Outlet_Size :
array(['Medium', nan, 'Small', 'High'], dtype=object)
I have found out few insights as follows : If Outlet_Type is Grocery store, it is always a small Outlet_Size.
I want to use this information to fill some of the Nan's in Outlet_size where Outlet_type = Grocery store.
Can someone help me , how do I use if Condition in Fillna ?