Closed RoelVerbelen closed 7 months ago
Ah yeah, that's right. It's one of the annoying choices I made, to "reserve" some keywords to avoid conflicts between the original data we merge in the output, and the marginaleffects-produced columns.
@LamAdr If you have a minute, do you think you could add a sanity check to newdata
(or the model data if newdata
is None
)? See if there's a reserved name like group
or estimate
, or conf.low
, and return an informative error message.
Thanks!
Hi @vincentarelbundock
I thought I'd flag this one with you as well:
predictions()
with theby
argument fails when the data has a column named"group"
.Reprex: