Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
This uses the same logic as pd.concat(): Copy attrs only if all input attrs are identical.
I've refactored the handling in finalize from special-casing based on th the method name (previously only "concat") to handling "other" parameters that have an input_objs attribute. This is a more scalable architecture compared to hard-coding method names in finalize.
This uses the same logic as
pd.concat()
: Copyattrs
only if all inputattrs
are identical.I've refactored the handling in finalize from special-casing based on th the method name (previously only "concat") to handling "other" parameters that have an
input_objs
attribute. This is a more scalable architecture compared to hard-coding method names in finalize.Tests added for
concat()
andmerge()
.Closes #60351.