How can I display the best hyperparameters results for a model as a DataFrame in Python?

Hey, I was facing difficulty to display my output for the best hyperparameters for the specific model, I want my output somewhat like this:
image
Can anyone provide me with the code?