Jul-08-2019, 01:47 AM
data_columns
is Pandas dataframe. It doesn't contain a column named Column_Names
. Everything depends on content of the file
Customer Churn Columns.csv
. Try to print all column names after the data is loaded, e.g.
print(data_columns.columns)
.