Fixed UserWarnings in Array2D._wrap_function
This PR improves the handling of 1D output (Series
) in Array2D._wrap_function
, by simplifying the logic to only pass the necessary metadata, without duplicating metadata that will generate warnings.
This PR improves the handling of 1D output (Series
) in Array2D._wrap_function
, by simplifying the logic to only pass the necessary metadata, without duplicating metadata that will generate warnings.