forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
BUG: Fix RecursionError when apply native container types as a func (… #4
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
Open
heoh
wants to merge
76
commits into
main
Choose a base branch
from
fix/native-container-types
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
…eries (pandas-dev#61376) Co-authored-by: Thomas Heavey <[email protected]>
…s-dev#61333) * CI: Have dedicated Python 3.13 job instead of using Python dev * Rename environment name * Track down resource warning * Fix -vv usage * Add __exit__ methods to PandasSQL * Revert "Add __exit__ methods to PandasSQL" This reverts commit 374c5ac. * Focus on only running sqlite tests * Fix testing path * Dont mess with test path * unskip sqlalchemy sqlite tests * Remove tests that don't exercise the failures * Remove bulk of tests * freeze some workflows * Freeze more workflows * disable more jobs * See if forced collection raises ResourceError earlier * Try context manager in test_delete_rows_is_atomic * Undo all changes and update test * Use a file in test_database_uri_string * Remove another uneeded parametrization
…as-dev#60024) (pandas-dev#61379) Fix: text color for accordion content in getting started
updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.4 → v0.11.8](astral-sh/ruff-pre-commit@v0.11.4...v0.11.8) - [github.com/pre-commit/mirrors-clang-format: v20.1.0 → v20.1.3](pre-commit/mirrors-clang-format@v20.1.0...v20.1.3) - [github.com/trim21/pre-commit-mirror-meson: v1.7.2 → v1.8.0](trim21/pre-commit-mirror-meson@v1.7.2...v1.8.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…s in to_datetime with ISO8601 format (pandas-dev#61400)
…das-dev#61393) * test case for subplot stacking * Removed overlooked print statement * Updated test to check other subplot in figure * Updated test cases to include more subplot stacking possibilities * removed savefig() left in test cases * Updated test cases to test more arrangements * Completed function fix (order of subplot input does not matter, need clarification if it matters) * appeasing the great pre-commit formatter * Updated whatsnew * Docstring adjustment * Moved self.subplot check to a seperate bool * Added ignore where mypy thinks self.subplots is a bool * Actually addressed mypy typing * Incorperated initial PR comments * Updated missing () after .all * Initial test cases * Addressed more comments on PR * Updated '&' to 'and' * Updated Test cases * Fixed crash when "subplots=True" is used * Title check checks for subplot length if specified * Updated Test cases * Title check checks for subplot length if specified * Updated test name * Removed extra '_' in test name * Fixed issue where expected_total_height returns as a df instead of a series * Updated change notes * Addressed mypy error * Addresed PR comments * Changed exception message raised and updated test case
* DEPS: Clean unused dependencies * Sync remove upper pin on xarray * Remove other dependencies unused * Fix xarray failures post xarray unpin * Fix downstream test * xfail based on version
removed none from docstring
updated titanic.rst survived description
…ev#61148) * String dtype: more informative repr (keeping brief __str__) * fix display in series * update doctest * update docstring * fixup
) (pandas-dev#61378) * DOC: update pandas cheat sheet with a third page (fixes pandas-dev#50680) * DOC: update cheat sheet based on review feedback (40680) * DOC: 3rd draft: update cheat sheet (40680) * Italicised 'option_name' and fixed the max_rows example
Update io.rst updating hdf5 data description link
* Decrease size of docker image Combining RUN commands to minimise the number of layers and cleaning up the apt lists to reduce total size. * Combine upgrade and install steps Combine upgrade and install steps Add --no-install-recommends option
* CI: re-run testing in cython=3.0.10 env to evaluate root cause of testing failure * add comment for pin cython version
* DOC: Update warning in Index.values docstring to clarify index modification issues (pandas-dev#60954) * DOC: Update warning in Index.values docstring to clarify index modification issues (pandas-dev#60954) with changes * Update pandas/core/indexes/base.py Co-authored-by: Matthew Roeschke <[email protected]> * DOC : Fixing the whitespace which was causing error * Fixed docstring validation and formatting issues * BUG: Fix array creation for string dtype with inconsistent list lengths (pandas-dev#61155) * BUG: Fix array creation for string dtype with inconsistent list lengths (pandas-dev#61155) * BUG fix GH#61155 v2 * BUG fix GH#61155 with test case for list of lists handling * Fix formatting in test_string_array.py (pre-commit autofix) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add test for list of lists handling in ensure_string_array (GH#61155) * fixing checks * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update pandas/tests/libs/test_lib.py Co-authored-by: Richard Shadrach <[email protected]> * Remove pandas/tests/arrays/test_string_array.py as requested * wrong fiel base.py * Remove check for nested lists in scalars in string_.py first try * Revert unintended changes to base.py --------- Co-authored-by: Matthew Roeschke <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Richard Shadrach <[email protected]>
…-forge (pandas-dev#61410) * Upgrade to ubuntu-24.04, add config for free threading * Comment out matplotlib, move to a specific build * Remove all optional dependencies * Install setuptools? * bump meson/meson-python * Update unit-tests.yml * Update action.yml * Update action.yml * Update actions-313-freethreading.yaml --------- Co-authored-by: Thomas Li <[email protected]>
pandas-dev#61384) * BLD: Try using shared memory utilities in Cython to reduce wheel sizes * fix syntax * maybe fix? * switch keyword order? * try putting as list? * try the cython rc * add more version checks * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
"order data"
…for consistent comparisons between different string dtypes (pandas-dev#61138) * API (string dtype): implement hierarchy (NA > NaN, pyarrow > python) for consistent comparisons between different string dtypes * fix string arith tests * fix for build without pyarrow * fix xfail condition * fix type annotation * re-add test with list * cleanup * Fix ArrowExtensionArray and add whatsnew * fixup --------- Co-authored-by: Richard Shadrach <[email protected]> Co-authored-by: Matthew Roeschke <[email protected]>
…name' attribute (pandas-dev#61443) (pandas-dev#61451) * BUG: Fix DataFrame constructor misclassification of array-like with 'name' attribute Previously, any object with a .name attribute (like some vtkArray-like objects) was assumed to be a Series or Index, causing the constructor to misinterpret the input. This fix ensures we only apply the named-Index/Series logic when the input is actually an instance of ABCSeries or ABCIndex *and* has a non-None name. Closes pandas-dev#61443. * Apply pre-commit fixes: isort and remove unused type ignore * TST/CLN: Add issue reference in test and update whatsnew for GH#61443
…pandas-dev#61459) change fill_value param to scalar
* update typing for 3.10 * add 2 more TypeAlias * add 2 more TypeAlias * fix hook for stubtest - make it work on Windows. remove combine from nattype.pyi
pandas-dev#61320) * PERF: Restore old performances with .isin() on columns typed as np.uint64 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…ions (pandas-dev#61508) * Wrapped return object * Added tests * Whatsnew * pre-commit
…s-dev#61484) * BUG: Raise clear error for duplicate id_vars in melt (GH61475) * Bug Fixed Issue GH61475 * if statement changes * Update pandas/core/reshape/melt.py --------- Co-authored-by: ZanirP <zanir@DESKTOP-JOHE35M> Co-authored-by: ZanirP <[email protected]> Co-authored-by: Matthew Roeschke <[email protected]>
…h same timezone but different units (pandas-dev#61234) * BUG: Fix DatetimeIndex timezone preservation when joining indexes with same timezone but different units * TST: Split timezone preservation test into separate tests Address review comments on PR pandas-dev#60080 by splitting the comprehensive test into separate focused tests for each set operation (union, intersection, symmetric_difference). * Remove unnecessary assert result.tz == idx1.tz
Typo fix for .astype() in cheatsheet
) * DOC: fix ES01 for pandas.plotting.autocorrelation_plot * fixed plot type description in extended summary * fixed plot type description in extended summary Co-authored-by: datapythonista <[email protected]> --------- Co-authored-by: datapythonista <[email protected]>
…512) (pandas-dev#61517) BUG: Allow sorting by column named None in DataFrame.sort_values (GH#61512)
* Update indexing.rst Add pd_lookup_het() and pd_lookup_hom() * Update indexing.rst * address pandas-dev#61471 (review)
updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.8 → v0.11.12](astral-sh/ruff-pre-commit@v0.11.8...v0.11.12) - [github.com/asottile/pyupgrade: v3.19.1 → v3.20.0](asottile/pyupgrade@v3.19.1...v3.20.0) - [github.com/pre-commit/mirrors-clang-format: v20.1.3 → v20.1.5](pre-commit/mirrors-clang-format@v20.1.3...v20.1.5) - [github.com/trim21/pre-commit-mirror-meson: v1.8.0 → v1.8.1](trim21/pre-commit-mirror-meson@v1.8.0...v1.8.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* BUILD: Bump Cython to 3.1 * Bump ci/deps * Change pins to <4.0 * Pin more below 4.0.0a0 --------- Co-authored-by: Matthew Roeschke <[email protected]>
* DOC: Set date for v2.3.0.rst whatsnew * Add more sphinx refs * Copy edits * Add |HEAD
* update whatsnew * improve message
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.