-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Study on refactoring the series constructor #57952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
aureliobarbosa
wants to merge
97
commits into
pandas-dev:main
from
aureliobarbosa:refactor_series_constructor
Closed
Changes from all commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
398477a
REF Series: add a test to check that on dictionary constructor np.nan…
aureliobarbosa a15fa21
REF Series: simplify Series._init_dict constructor
aureliobarbosa e72cff1
REF Series: add tests to ensure that series dict constructor preserve…
aureliobarbosa 0e6f269
REF Series: Move 'data is None' below
aureliobarbosa b696dc2
REF Series: ensure dict is not series and Series(dict(),...) -> Serie…
aureliobarbosa 66793c3
REF Series: Series(dict(),...) extracted from _init_dict() which is…
aureliobarbosa 5e09cc8
REF Series: bring dict data closer and make if-else structure identical
aureliobarbosa f0f336d
REF Series: Decouple dictionary from all other kinds of data
aureliobarbosa ca87d9d
REF Series: Starting to decouple index and data is None/Not None edge…
aureliobarbosa 6e850ea
REF Series: Further simplifications
aureliobarbosa 94f4fe5
REF Series: More simplifications
aureliobarbosa b4f71ac
REF Series: Else if is joined and escalated from the most restrictive…
aureliobarbosa c0c4554
REF Series: Clean unused code and comments.
aureliobarbosa ff139db
REF Series: simplification
aureliobarbosa 9a1843e
REF Series: Groupping common operations on index
aureliobarbosa 161d0ff
REF Series: selecting iterator on if-else data logic was no longer ne…
aureliobarbosa 4b208bb
REF Series: Separating a peculiar data Sized type being catched by is…
aureliobarbosa 299169a
REF Series: Repositioning code blocks according to tasks
aureliobarbosa b1f1320
REF Series: Separating copy from dtype logic on final steps. Clean co…
aureliobarbosa d7007c0
REF Series: Separating contexts. Who needs the SingleBlockManager and…
aureliobarbosa 5d40174
REF Series: organizing ideas for decoupling index and copy. While cre…
aureliobarbosa dccda08
REF Series - Constructor for Series and Manager: Making parameter dee…
aureliobarbosa ac8ea67
REF Series: Refrasing Comments
aureliobarbosa eb11e89
REF Series: Organizing TODOs for next steps.
aureliobarbosa 5fcdefa
REF Series - TODO 1: Move error when data is MultiIndex to 'Series TA…
aureliobarbosa 28ca344
REF Series - TODO 3: Move Manager AssertionError to Series TASK 1
aureliobarbosa ae97b19
REF Series TODO 3: Joined with another TODO and detailed the tasks.
aureliobarbosa ac74810
REF Series - TODO 2. Organizing two blocks of code with Manager (on …
aureliobarbosa b5a372c
REF Series - TODO 2: Organizing two blocks of code with Manager (on T…
aureliobarbosa 29eb542
REF Series - TODO 2. Move code on TASK 2 to proper places. Step 2.2 D…
aureliobarbosa cf5070f
REF Series - TODO 2. Decouple warnings / data manipulation. Steps 2.3…
aureliobarbosa 2edf3ca
REF Series - TODO 2. Decouple warnings / data manipulation. Steps 2.3…
aureliobarbosa 83ef80f
REF Series - TODO 2. Decouple warnings / data manipulation. Step 2.5.…
aureliobarbosa 7ea6b8e
REF Series - TODO 2. Decouple warnings / data manipulation. Organizin…
aureliobarbosa 8dd002d
REF Series - TODO 2. Decouple warnings / data manipulation. Step 2.5.…
aureliobarbosa ff9b4ce
REF Series - TODO 2. Decouple warnings / data manipulation. Reorganiz…
aureliobarbosa b6d4636
REF Series - TODO 6. DECOUPLE MANAGER PREPARATION FROM COPYING. Step …
aureliobarbosa cf12b42
REF Series - TODO 4: Move Warning to Series TASK 7.
aureliobarbosa 4b7215c
REF Series - TODO 10. Move copy code for ExtendedArrays and NDArrays…
aureliobarbosa 6b9a792
REF Series - TODO 10. Move copy code for ExtendedArrays and NDArrays…
aureliobarbosa 18f70de
REF Series - TODO 7 - dtype Series with arguments equivalent to empty…
aureliobarbosa 0be3e2d
REF Series: Reorganizing TODOs
aureliobarbosa 07091c8
REF Series - TODO 10. DECOUPLE MANAGER PREPARATION FROM COPYING. Ste…
aureliobarbosa a80760f
REF Series - TODO 10. DECOUPLE MANAGER PREPARATION FROM COPYING. Ste…
aureliobarbosa d351538
REF Series - TODO 18. Done
aureliobarbosa bc14bbb
REF Series - TODO 6. DECOUPLE MANAGER PREPARATION FROM COPYING. Worki…
aureliobarbosa 1dfa4b1
REF Series - TODO 8: Decouple single element from the other data.
aureliobarbosa 8a7f2b6
REF Series - TODO 6. DECOUPLE MANAGER PREPARATION FROM COPYING. Step …
aureliobarbosa 8101dd2
Merge remote-tracking branch 'upstream/main' into refactor_series_con…
aureliobarbosa da2bdac
Revert "REF Series: add tests to ensure that series dict constructor …
aureliobarbosa 43d5592
REF Series - TODO 6. DECOUPLE MANAGER PREPARATION FROM COPYING. Step …
aureliobarbosa 9877d2f
REF Series - TODO 6. DECOUPLE MANAGER PREPARATION FROM COPYING. Every…
aureliobarbosa eea989d
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 9692594
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa d230651
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 2c3b415
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 092a918
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 5e6f9b0
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 08c27eb
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa a58ab1b
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 61f7908
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 316c600
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 023f4db
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 0b8eeea
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 37cfa65
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 82270db
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 9c8628d
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 87bf240
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 434c1fc
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 5d24ed4
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa a8cedb0
REF Series - TODO 14: Try capture final data type that seems scalar. …
aureliobarbosa 92c25da
REF Series - TODO 14: Refactor data transformation on edge cases.
aureliobarbosa 0178074
EF Series - TODO 14: Refactor data transformation on edge cases. Inde…
aureliobarbosa 8f7cf6b
REF Series: change variable name require_manager <-> has_manager
aureliobarbosa 07c1664
REF Series - TODO 14: Refactor data transformation on edge cases. Sim…
aureliobarbosa d7a2798
REF Series - TODO 14: Refactor data transformation on edge cases. Sim…
aureliobarbosa 7e48887
REF Series: saving memory on dict input
aureliobarbosa d698c57
REF Series: Unifying index treatment in a single place
aureliobarbosa c16a0e9
REF Series: removing dead code and if (True).
aureliobarbosa cc9154d
REF Series: Unifying index treatment in a single place. step 2
aureliobarbosa f8063d2
REF Series: Unifying index treatment in a single place. step 3
aureliobarbosa c606464
REF Series: Unifying index treatment in a single place. step 4
aureliobarbosa f88bbe4
REF Series: simplify if-else structure on data manipulation. Step 1
aureliobarbosa a21ad6d
REF Series: simplify if-else structure on data manipulation. Step 2
aureliobarbosa 83518c5
EF Series: simplify if-else structure on data manipulation. Done
aureliobarbosa 3dfcbb2
REF Series: Simplify identification of default_empty_series to change…
aureliobarbosa 09fdd03
REF Series: Erasing comments, and DONEs and TODOs
aureliobarbosa daaaeb8
REF Series: group two identical cases on if-else logic of index const…
aureliobarbosa c68c73e
REF Series: simplifying comments
aureliobarbosa 7aee896
Merge remote-tracking branch 'upstream/main' into refactor_series_con…
aureliobarbosa e312146
REF Series: simplifying detection/manipulation of scalar data
aureliobarbosa 5304d75
REF Series: simplifying detection/manipulation of scalar data. Step 2
aureliobarbosa 32dda5b
REF Series: simplifying logic for single element becoming a list
aureliobarbosa f3967ca
REF Series: incorporate changes from #57889
aureliobarbosa 7e01783
Merge remote-tracking branch 'upstream/main' into refactor_series_con…
aureliobarbosa e5e4426
Merge remote-tracking branch 'upstream/main' into refactor_series_con…
aureliobarbosa 84e6293
Merge remote-tracking branch 'upstream/main' into refactor_series_con…
aureliobarbosa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.