As a feature engineering technique for categorical features, one hot encoding is introduced in official tutorial.
In this notebook, the topic is another feature engineering technique for categorical features called label encoding.
This is used especially when you use Gradient Boosting Decision Tree like LightGBM.
You can see the reference here.