pandas icon indicating copy to clipboard operation
pandas copied to clipboard

BUG: MultiIndex.difference not keeping ea dtype

Open phofl opened this issue 3 years ago • 0 comments

  • [ ] closes #xxxx (Replace xxxx with the Github issue number)
  • [x] Tests added and passed if fixing a bug or adding a new feature
  • [x] All code checks passed.
  • [x] Added type annotations to new arguments/methods/functions.
  • [x] Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.
       before           after         ratio
     [b5632fb3]       [c8b6d846]
     <deprecation_notes~1>       <diff>    
-     5.67±0.08ms       4.73±0.1ms     0.83  multiindex_object.Difference.time_difference('string')
-     4.65±0.01ms      3.71±0.03ms     0.80  multiindex_object.Difference.time_difference('int')
-     4.78±0.02ms      3.75±0.01ms     0.78  multiindex_object.Difference.time_difference('ea_int')
-     6.35±0.02ms      4.85±0.02ms     0.76  multiindex_object.Difference.time_difference('datetime')

phofl avatar Sep 17 '22 14:09 phofl