import string
new_cols = pd.get_dummies(df['Knownvalue'] // 10).loc[:, (list(range(8)))].fillna(0)
new_cols.columns = list(string.ascii_uppercase)[:len(new_cols.columns)]
Changing values in multiple columns of a pandas DataFrame using known column values