Join GitHub today
ENH: should we relax frame/setitem for non-numerics #3037
I came across the case where if you try setitem with a boolean mask on a frame
this is easily relaxed in the int/float case (and will leave/upcast the int columns as needed)
This will currently raise because its mixed_type (this is easily fixed and I think should be,
What about a mixed type that invovles non-numerics though,
Should raise here? or allow just the non-numerics to 'work'?
am leaning toward allowing a purely numeric frame to work (e.g. mixed int/float),
Note that the getitem case works on mixed....
and this would preclude a pathological case where (and maybe this is another bug),