[USER (data scientist)]:  Great, now I need to apply One-Hot Encoding to the 'credit_history' column. Can you help me with that? Please generate the code with the output in dataframe type.
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd  
import pickle
from decision_company import read_csv_file, get_dummies

# Load the dataset  
credit_customers = read_csv_file("credit_customers.csv")  
  
# YOUR SOLUTION BEGIN:
<code1>
[GENERATE YOUR CODE]  
</code1>
# YOUR SOLUTION END

print("data_for_clustering:\n", data_for_clustering)    

# save data
pickle.dump(data_for_clustering,open("./pred_result/data_for_clustering.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: Sure, here's the code to apply One-Hot Encoding to the 'credit_history' column:

# MY SOLUTION BEGIN:
