An open API service for providing issue and pull request metadata for open source projects.

GitHub / pandas-dev/pandas issues and pull requests

Labelled with: Refactor

#62351 - REF: simplify _append_internal

Pull Request - State: closed - Opened by jbrockmendel 2 months ago
Labels: Refactor

#62165 - REF: get rid of ArrowStringArrayNumpySemantics

Pull Request - State: closed - Opened by jbrockmendel 3 months ago
Labels: Refactor

#62049 - REF: simplify mask_missing

Pull Request - State: closed - Opened by jbrockmendel 4 months ago
Labels: Refactor

#60748 - refactor: deprecate usage of `cursor.execute` statements in favor of the in class implementation of `execute`.

Pull Request - State: closed - Opened by gmcrocetti 10 months ago - 3 comments
Labels: Refactor, IO SQL

#60748 - refactor: deprecate usage of `cursor.execute` statements in favor of the in class implementation of `execute`.

Pull Request - State: closed - Opened by gmcrocetti 10 months ago - 4 comments
Labels: Refactor, IO SQL

#59929 - Include Python.h first

Pull Request - State: closed - Opened by cdce8p about 1 year ago - 3 comments
Labels: Refactor, Build

#59774 - REF: pass dtype explicitly to _from_sequence

Pull Request - State: closed - Opened by jbrockmendel about 1 year ago - 1 comment
Labels: Refactor, ExtensionArray

#59773 - REF: pass dtype explicitly to _from_sequence inside pd.array

Pull Request - State: closed - Opened by jbrockmendel about 1 year ago - 1 comment
Labels: Refactor, ExtensionArray

#59709 - REF (string): de-duplicate _str_contains

Pull Request - State: closed - Opened by jbrockmendel about 1 year ago
Labels: Refactor, Strings

#59709 - REF (string): de-duplicate _str_contains

Pull Request - State: closed - Opened by jbrockmendel about 1 year ago - 1 comment
Labels: Refactor, Strings, backported

#59705 - REF (string): de-duplicate str_isfoo methods

Pull Request - State: closed - Opened by jbrockmendel about 1 year ago - 1 comment
Labels: Refactor, Strings, backported

#59705 - REF (string): de-duplicate str_isfoo methods

Pull Request - State: closed - Opened by jbrockmendel about 1 year ago
Labels: Refactor, Strings

#59672 - REF: Use numpy methods instead of np.array

Pull Request - State: closed - Opened by mroeschke about 1 year ago
Labels: Refactor

#59672 - REF: Use numpy methods instead of np.array

Pull Request - State: closed - Opened by mroeschke about 1 year ago - 1 comment
Labels: Refactor

#59619 - REF: Use range over arange for iterators

Pull Request - State: closed - Opened by mroeschke about 1 year ago - 1 comment
Labels: Refactor

#59619 - REF: Use range over arange for iterators

Pull Request - State: closed - Opened by mroeschke about 1 year ago - 1 comment
Labels: Refactor

#59618 - REF: Minimize operations in recode_for_groupby

Pull Request - State: closed - Opened by mroeschke about 1 year ago - 1 comment
Labels: Refactor, Groupby, Categorical

#59618 - REF: Minimize operations in recode_for_groupby

Pull Request - State: closed - Opened by mroeschke about 1 year ago
Labels: Refactor, Groupby, Categorical

#59617 - REF: Consistently use `_reset_cache` for cache clearing

Pull Request - State: open - Opened by mroeschke about 1 year ago
Labels: Refactor

#59568 - REF (string): de-duplicate str_endswith, startswith

Pull Request - State: closed - Opened by jbrockmendel about 1 year ago - 6 comments
Labels: Refactor, Strings

#59568 - REF (string): de-duplicate str_endswith, startswith

Pull Request - State: closed - Opened by jbrockmendel about 1 year ago - 6 comments
Labels: Refactor, Strings, backported

#59556 - REF (string): de-duplicate ArrowStringArray methods (2)

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago
Labels: Refactor, Strings, Arrow

#59556 - REF (string): de-duplicate ArrowStringArray methods (2)

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago
Labels: Refactor, Strings, Arrow

#59555 - REF (string): de-duplicate ArrowStringArray methods

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago - 13 comments
Labels: Refactor, Strings, Arrow, backported

#59555 - REF (string): de-duplicate ArrowStringArray methods

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago - 13 comments
Labels: Refactor, Strings, Arrow

#59551 - REF (string): avoid copy in StringArray factorize

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago
Labels: Refactor, Strings

#59551 - REF (string): avoid copy in StringArray factorize

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago - 1 comment
Labels: Refactor, Strings, backported

#59515 - REF (string): remove _str_na_value

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago - 1 comment
Labels: Refactor, Strings

#59515 - REF (string): remove _str_na_value

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago - 2 comments
Labels: Refactor, Strings, backported

#59514 - REF (string): Move StringArrayNumpySemantics methods to base class

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago - 1 comment
Labels: Refactor, Strings

#59514 - REF (string): Move StringArrayNumpySemantics methods to base class

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago - 2 comments
Labels: Refactor, Strings, backported

#59501 - REF (string): move ArrowStringArrayNumpySemantics methods to base class

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago
Labels: Refactor, Strings

#59501 - REF (string): move ArrowStringArrayNumpySemantics methods to base class

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago - 1 comment
Labels: Refactor, Strings, backported

#59464 - REF (string): de-duplicate str_map_nan_semantics

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago
Labels: Refactor, Strings

#59464 - REF (string): de-duplicate str_map_nan_semantics

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago - 1 comment
Labels: Refactor, Strings, backported

#59463 - REF: remove unused variable and checks

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago - 2 comments
Labels: Refactor

#59463 - REF: remove unused variable and checks

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago - 3 comments
Labels: Refactor

#59451 - REF (string dtype): de-duplicate _str_map (2)

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago - 1 comment
Labels: Refactor, Strings, backported

#59451 - REF (string dtype): de-duplicate _str_map (2)

Pull Request - State: closed - Opened by jbrockmendel over 1 year ago
Labels: Refactor, Strings

#59210 - CLN: More read_csv state

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 1 comment
Labels: Refactor, IO CSV

#59195 - REF: Add back attr passing in concat by attribute

Pull Request - State: open - Opened by mroeschke over 1 year ago
Labels: Refactor, Reshaping, metadata

#59195 - REF: Add back attr passing in concat by attribute

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 1 comment
Labels: Refactor, Reshaping, metadata

#59194 - REF: Minimize state in read_csv

Pull Request - State: closed - Opened by mroeschke over 1 year ago
Labels: Refactor, IO CSV

#59194 - REF: Minimize state in read_csv

Pull Request - State: closed - Opened by mroeschke over 1 year ago
Labels: Refactor, IO CSV

#59172 - REF: Move methods in core/reshape/util.py to where they are used

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 1 comment
Labels: Refactor, Reshaping

#59172 - REF: Move methods in core/reshape/util.py to where they are used

Issue - State: closed - Opened by mroeschke over 1 year ago - 1 comment
Labels: Refactor, Reshaping

#59141 - REF: Make concat not stateful.

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 5 comments
Labels: Refactor, Reshaping

#59141 - REF: Make concat not stateful.

Pull Request - State: open - Opened by mroeschke over 1 year ago
Labels: Refactor, Reshaping

#59124 - REF: Make read_json less stateful

Pull Request - State: closed - Opened by mroeschke over 1 year ago
Labels: Refactor, IO JSON

#59124 - REF: Make read_json less stateful

Pull Request - State: closed - Opened by mroeschke over 1 year ago
Labels: Refactor, IO JSON

#59035 - REF: Use `default_index` or preserve original Index type for empty-like results

Pull Request - State: closed - Opened by mroeschke over 1 year ago
Labels: Refactor, Index

#58808 - REF: Use more lazy iterators

Pull Request - State: closed - Opened by mroeschke over 1 year ago
Labels: Refactor

#58808 - REF: Use more lazy iterators

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 1 comment
Labels: Refactor

#58798 - REF: Convert list comprehensions into lazy iterators

Pull Request - State: closed - Opened by mroeschke over 1 year ago
Labels: Refactor

#58798 - REF: Convert list comprehensions into lazy iterators

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 1 comment
Labels: Refactor

#58792 - REF: Break up stack_v3

Pull Request - State: open - Opened by rhshadrach over 1 year ago
Labels: Refactor, Reshaping

#58792 - REF: Break up stack_v3

Pull Request - State: closed - Opened by rhshadrach over 1 year ago - 1 comment
Labels: Refactor, Reshaping

#58497 - REF: Read excel parse refactor

Pull Request - State: closed - Opened by iangainey over 1 year ago - 1 comment
Labels: Refactor, IO Excel

#58497 - REF: Read excel parse refactor

Pull Request - State: closed - Opened by iangainey over 1 year ago
Labels: Refactor, IO Excel

#58370 - REF: Defer creating Index._engine until needed

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 1 comment
Labels: Refactor, Index

#58271 - REF: Use more cython memoryviews

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 1 comment
Labels: Refactor, Internals

#58271 - REF: Use more cython memoryviews

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 1 comment
Labels: Refactor, Internals

#57997 - REF: Use numpy set methods in interpolate

Pull Request - State: open - Opened by mroeschke over 1 year ago
Labels: Refactor, Missing-data

#57933 - REF: Clean up concat statefullness and validation

Pull Request - State: closed - Opened by mroeschke over 1 year ago
Labels: Refactor, Reshaping

#57933 - REF: Clean up concat statefullness and validation

Pull Request - State: closed - Opened by mroeschke over 1 year ago
Labels: Refactor, Reshaping

#57913 - REF/PERF: Use concat(..., ignore_index=True) when index doesn't matter

Pull Request - State: closed - Opened by mroeschke over 1 year ago
Labels: Refactor, Reshaping

#57913 - REF/PERF: Use concat(..., ignore_index=True) when index doesn't matter

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 1 comment
Labels: Refactor, Reshaping

#57902 - REF: Avoid new object creation when reverse slicing when possible

Pull Request - State: open - Opened by mroeschke over 1 year ago
Labels: Refactor

#57902 - REF: Avoid new object creation when reverse slicing when possible

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 3 comments
Labels: Refactor

#57789 - Small refactoring

Pull Request - State: closed - Opened by tqa236 over 1 year ago
Labels: Refactor

#57710 - REF: Remove dynamic docstrings from option methods

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 2 comments
Labels: Refactor

#57710 - REF: Remove dynamic docstrings from option methods

Pull Request - State: closed - Opened by mroeschke over 1 year ago - 2 comments
Labels: Refactor

#57708 - REF: Avoid importing xlrd

Pull Request - State: closed - Opened by rhshadrach over 1 year ago - 4 comments
Labels: Refactor, IO Excel, Dependencies

#57708 - REF: Avoid importing xlrd

Pull Request - State: closed - Opened by rhshadrach over 1 year ago - 3 comments
Labels: Refactor, IO Excel, Dependencies

#57599 - REF: Move compute to BinGrouper.result_index_and_ids

Pull Request - State: closed - Opened by rhshadrach over 1 year ago - 1 comment
Labels: Refactor, Groupby

#57599 - REF: Move compute to BinGrouper.result_index_and_ids

Pull Request - State: closed - Opened by rhshadrach over 1 year ago
Labels: Refactor, Groupby

#57208 - REF: Remove internals.base

Pull Request - State: closed - Opened by rhshadrach almost 2 years ago
Labels: Refactor, Internals

#57187 - REF: Remove internals.base

Issue - State: closed - Opened by rhshadrach almost 2 years ago
Labels: Refactor, Internals

#57159 - CLN: `to_dict`

Pull Request - State: closed - Opened by mroeschke almost 2 years ago
Labels: Refactor

#57159 - CLN: `to_dict`

Pull Request - State: closed - Opened by mroeschke almost 2 years ago
Labels: Refactor

#56612 - Backport PR #56595 on branch 2.2.x (TST/CLN: Inline seldom used fixture)

Pull Request - State: closed - Opened by meeseeksmachine almost 2 years ago - 1 comment
Labels: Refactor, Testing

#56595 - TST/CLN: Inline seldom used fixture

Pull Request - State: closed - Opened by mroeschke almost 2 years ago - 1 comment
Labels: Refactor, Testing

#56540 - REF: avoid special-casing in agg_series

Pull Request - State: closed - Opened by jbrockmendel almost 2 years ago - 1 comment
Labels: Refactor

#56512 - TST: use one-class pattern in test_numpy

Pull Request - State: closed - Opened by jbrockmendel almost 2 years ago - 1 comment
Labels: Refactor, Testing

#56509 - TST: use single-class pattern in test_string.py

Pull Request - State: closed - Opened by jbrockmendel almost 2 years ago - 1 comment
Labels: Refactor, Testing

#56439 - REF: get_supported_reso->get_supported_dtype

Pull Request - State: closed - Opened by jbrockmendel almost 2 years ago - 1 comment
Labels: Refactor

#56436 - REF: pass dtype to _from_sequence

Pull Request - State: closed - Opened by jbrockmendel almost 2 years ago - 1 comment
Labels: Refactor

#56432 - POC: Move some Tempita to Cython/C++

Pull Request - State: closed - Opened by WillAyd almost 2 years ago - 9 comments
Labels: Refactor, Internals

#56432 - POC: Move some Tempita to Cython/C++

Pull Request - State: closed - Opened by WillAyd almost 2 years ago - 9 comments
Labels: Refactor, Internals

#56149 - DEPR: Some Grouper and Grouping attributes

Pull Request - State: closed - Opened by rhshadrach almost 2 years ago - 1 comment
Labels: Refactor, Groupby, Deprecate

#56148 - DEPR: Certain Grouper and Grouping attributes

Issue - State: closed - Opened by rhshadrach almost 2 years ago
Labels: Refactor, Groupby, Deprecate

#55987 - REF: de-duplicate freq pinning/validation

Pull Request - State: closed - Opened by jbrockmendel about 2 years ago - 1 comment
Labels: Refactor, Frequency

#55976 - REF: lreshape, wide_to_long

Pull Request - State: closed - Opened by mroeschke about 2 years ago - 2 comments
Labels: Refactor, Reshaping

#55950 - REF: simplify objects_to_datetime64ns

Pull Request - State: closed - Opened by jbrockmendel about 2 years ago - 1 comment
Labels: Refactor, Timeseries

#55948 - REF: melt

Pull Request - State: closed - Opened by mroeschke about 2 years ago
Labels: Refactor, Reshaping

#55917 - REF: less state in scatterplot

Pull Request - State: closed - Opened by jbrockmendel about 2 years ago - 1 comment
Labels: Refactor, Visualization

#55906 - REF: avoid altering self.data in get_xticks

Pull Request - State: closed - Opened by jbrockmendel about 2 years ago - 1 comment
Labels: Refactor, Visualization

#55904 - REF: avoid statefulness in 'color' args

Pull Request - State: closed - Opened by jbrockmendel about 2 years ago - 1 comment
Labels: Refactor, Visualization

#55897 - REF/API/DEPR: _holds_integer checks in plotting

Issue - State: open - Opened by jbrockmendel about 2 years ago - 2 comments
Labels: Refactor, Visualization, Deprecate, API - Consistency

#55890 - ENH: warn when silently ignoring log keywords in PiePlot

Pull Request - State: closed - Opened by jbrockmendel about 2 years ago - 1 comment
Labels: Refactor, Visualization