I am trying to add p/b ratio to my pipeline but I get an error.
pb_ratio = fundamentals.valuation_ratios.pb_ratio
pipe = Pipeline(
screen = high_dollar_volume,
columns = {
'pb' : pb_ratio
}
)
The error that I get is...
AttributeError: Neither 'UserInstrumentedAttribute' object nor 'Comparator' object associated with UserInstrumentedAttribute has an attribute 'ndim'