text_html_output_1.png
import pandas as pd

dataset_path = '/kaggle/input/hr-analytics-and-job-prediction/HR_comma_sep.csv'
hr = pd.read_csv(dataset_path)

hr.columns

hr.columns = hr.columns.str.lower()
hr.columns = hr.columns.str.replace(' ', '_')
hr.columns = hr.columns.str.replace('\\W', '_', regex=True)
hr.columns