Not callable dict

rom sklearn.feature_selection import f_regression

f_regression (inputs, targets)

pvalues = f_regression (inputs, targets)[1]

summ = pd.DataFrame (data = inputs.columns.values, columns = [‘features’])

summ [‘pvalues’] = pvalues

I did but this but the error i got was ‘dict’ object is not callable.

“Object not callable” means that you are trying to call an object that is not a function as if it were a function. That usually means that you typed obj(some_parameter) when Python was looking for something else, possibly obj[some_parameter].