using OneHotEncoder to encode f776 and f777