-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Open
Labels
API DesignIndexRelated to the Index class or subclassesRelated to the Index class or subclassesTestingpandas testing functions or related to the test suitepandas testing functions or related to the test suite
Description
Recently, #57429 slipped through the cracks because Index[int64]
is considered equal to RangeIndex
. While convenient, this allows code changes to potentially introduce a change that leads to increase in memory usage (or decrease in the hopeful case). I don't think this lack of clarity is worth the convenience of making Index[int64]
equivalent to RangeIndex
by default and therefore exact
should default to True
Metadata
Metadata
Assignees
Labels
API DesignIndexRelated to the Index class or subclassesRelated to the Index class or subclassesTestingpandas testing functions or related to the test suitepandas testing functions or related to the test suite