pandas.Index.set_value

Index.set_value(arr, key, value)[source]

Fast lookup of value from 1-dimensional ndarray. Only use this if you know what you’re doing