BUG: Fix DataFrame reduction to preserve NaN vs <NA> in mixed dtypes (GH#62024)
(GH#62024)

This PR fixes a bug in  (DataFrame._reduce) where reductions on (DataFrames) with mixed dtypes (e.g., float64 and nullable integer Int64) would incorrectly upcast all results to use pd.NA and the Float64 dtype if any column was a pandas extension type.

Please let me know if my approach or fix needs any improvements . I’m open to feedback and happy to make changes based on suggestions.
Thankyou!


This is not the correct approach.  Please look for issues with the Good First Issue label. Thankyou for feedback . I will look for good first issues