Skip to content

BUG: Remove read_json datetime deprecation warning #59743

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

Conversation

KevsterAmp
Copy link
Contributor

jorisvandenbossche and others added 30 commits August 12, 2024 15:28
… None) (pandas-dev#59488)

* String dtype: honor mode.string_storage option (and change default to None)

* fix test + explicitly test default

* use 'auto' instead of None
…as-dev#59491)

* DOC: add pandas-gbq and related db-dtypes packages to ecosystem

As of pandas 2.2.0, pandas-gbq functionality is fully separated, so I think now would be a good time to introduce it as part of the "ecosystem".

db-dtypes was built for use from pandas-gbq but should be applicable more generally.

* fix pandas-gbq link
…das-dev#59496)

* unit, utcoffset, utctimetuple

* Fix E501 line too long cython-lint
* Correcting PR02 for classes in offsets.pyx

* remove remaining PR02 issues in offsets.pyx

* revert for errored classes

* revert dependent classes

---------

Co-authored-by: Abhinav Thimma <[email protected]>
* REF: removed unused convert keyword

* REF: remove unhit field checks

* REF: inline _object_ops
…9505)

* BUG: ArrowEA comparisons with mismatched types

* move whatsnew

* GH ref
Docstrings for pandas.Series.str functions

pandas.Series.str.rpartition
pandas.Series.str.rstrip
pandas.Series.str.strip
…pe of columns' Index (pandas-dev#59509)

* TST (string dtype): fix failure in csv test_dtype_backend_string test

* ignore storage of Index str dtype
…andas-dev#59507)

* docs: FIx ES01, SA01 code check of `pandas.api.types.is_bool_dtype`

* chore: Remove pandas in See Also
…andas-dev#59514)

* REF (string): Move StringArrayNumpySemantics methods to base class

* mypy fixup
DOC: fix ES01,PR07 for pandas.MultiIndex.names
* Fix docstrings for pandas.Period.month

* Fix docstrings for pandas.Period.month indentation

* Fix docstrings for pandas.Period.month

* Fix docstrings for pandas.Period.asfreq SA01

* Fix docstrings for pandas.Period.asfreq

* Fix docstrings ci error cython-lint

* Fix docstrings pre-commit.cierror

* Fix docstring validation error

* Fix docstring validation errors
…code methods (pandas-dev#59475)

* DOC: Enforce Numpy Docstring Validation for freqstr, nanos, and rule_code methods of pandas.tseries.offsets Week, WeekOfMonth, YearBegin, and YearEnd classes.

* DOC: Enforce Numpy Docstring Validation for freqstr, nanos, and rule_code methods of pandas.tseries.offsets Week, WeekOfMonth, YearBegin, and YearEnd classes.

* Fix precommit errors - Add 2 spaces before inline comment

* Fix precommit errors - Remove unwanted language

* Update code_checks.sh to remove methods that don't fail anymore.

* Indented See Also strings to avoid using # noqa

* Correct for code check error.

* Removed duplicate from code_checks.sh.

* Correct code_checks.sh.

* Correct code_checks.sh.

* Update pandas/_libs/tslibs/offsets.pyx

Delete two examples from See Also for nanos

Co-authored-by: Matthew Roeschke <[email protected]>

* Update pandas/_libs/tslibs/offsets.pyx

Update nanos summary

Co-authored-by: Matthew Roeschke <[email protected]>

* Update pandas/_libs/tslibs/offsets.pyx

Delete two examples from See Also for nanos

Co-authored-by: Matthew Roeschke <[email protected]>

---------

Co-authored-by: Matthew Roeschke <[email protected]>
* REF (string): remove _str_na_value

* mypy fixup
…ss (pandas-dev#59501)

* REF: move ArrowStringArrayNumpySemantics methods to parent class

* REF: move methods to ArrowStringArray

* mypy fixup

* Fix incorrect double-unpacking

* move methods to subclass
TST: Added test for date_range for bug pandas-dev#57456

Co-authored-by: Matthew Roeschke <[email protected]>
* Fix docstrings for pandas.Period.year SA01

* Fix docstrings for pandas.Period.year SA01 Validate Docstrings err

* Fix docstrings for pandas.Period.year SA01 Validate Docstrings err

* Removed dateparseerror example from period.year

Co-authored-by: Matthew Roeschke <[email protected]>

---------

Co-authored-by: Matthew Roeschke <[email protected]>
…pandas-dev#59526)

* API (string): return str dtype for .dt methods, DatetimeIndex methods

* mypy fixup
[skip-ci] docs: remove pandas-coverage app
* remove pandas/tests/frame UB

* updated macro with filename / line num

* fix typo

* stay with PD_CHECK_OVERFLOW

* updates

* test fixes

---------

Co-authored-by: Matthew Roeschke <[email protected]>
…das-dev#59393)

* Add test_non_nanosecond_timestamps

* Fix lint errors

* Remove detailed comment; use temp path helper

* Use temp_file

* Apply suggestions from code review

Co-authored-by: Matthew Roeschke <[email protected]>

* Remove extra empty line

* Skip test in minimal version env

---------

Co-authored-by: Matthew Roeschke <[email protected]>
…xtensionArray (pandas-dev#59540)

* Fix SA01 for isna

* Fix See Also for nbytes

* fix See also for ndim

* Fix ravel

* fis return value of take

* remove type ignore

---------

Co-authored-by: Abhinav Thimma <[email protected]>
Co-authored-by: Matthew Roeschke <[email protected]>
* Fix docstrings for pandas.Period.year SA01

* Fix docstrings for pandas.Period.year SA01 Validate Docstrings err

* Fix docstrings for pandas.Period.year SA01 Validate Docstrings err

* Fix docstrings for pandas.timestamps SA01 PR01

* This reverts commit f52c610.

* Revert "Removed dateparseerror example from period.year"

This reverts commit cdf36b2.

* fixing merge conflict

* fix pre-commit.ci err

* fix pre-commit.ci err

* fix Docstring validation err

* fix Docstring validation err

* fix Docstring validation err

* fix timestamp Docstring validation err

* pandas/plotting/_matplotlib/core.py:549: error: Unused "type: ignore" comment [unused-ignore]

---------

Co-authored-by: Matthew Roeschke <[email protected]>
* undo numpy 2 changes?

* some interval 32 bit tests working

* Revert "undo numpy 2 changes?"

This reverts commit 39ce222.

* nomkl?

* nomkl?

* Update .github/actions/build_pandas/action.yml

* grep for nomkl

* xfail WASM

* Reverse condition
rhshadrach and others added 5 commits October 7, 2024 15:30
* REGR: groupby.value_counts with all NA values

* Better implementation
* update docstring for dummy_na parameter

* Update pandas/core/reshape/encoding.py

Co-authored-by: Matthew Roeschke <[email protected]>

---------

Co-authored-by: Matthew Roeschke <[email protected]>
* more precise NaT stub

* ruff format

* updated == and != to return literal
)

* add tag dt.to_timestamp, series.rst

* add doc strings for dt.to_timestamp

* update datetimes.py

* refactor _create_delegator_method to use functools wrap

* changes to accessor.py

* remove from code_checks.sh

* update code_checks.sh

* update code_checks.sh

* rewrite functools, adjust unit tests

* update change log

* remove dup entry

* update code_checks.sh

* update

* revert all dt related changes

* update series.rst

* update imports

* format use of functools import
* Fix Styler docstring

* Remove blankspaces
@rhshadrach
Copy link
Member

@KevsterAmp - looks like the CI failures are related.

pre-commit-ci bot and others added 13 commits October 8, 2024 14:51
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.6.9](astral-sh/ruff-pre-commit@v0.5.0...v0.6.9)
- [github.com/jendrikseipp/vulture: v2.11 → v2.13](jendrikseipp/vulture@v2.11...v2.13)
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/asottile/pyupgrade: v3.16.0 → v3.17.0](asottile/pyupgrade@v3.16.0...v3.17.0)
- [github.com/sphinx-contrib/sphinx-lint: v0.9.1 → v1.0.0](sphinx-contrib/sphinx-lint@v0.9.1...v1.0.0)
- [github.com/pre-commit/mirrors-clang-format: v18.1.8 → v19.1.1](pre-commit/mirrors-clang-format@v18.1.8...v19.1.1)

* Update .pre-commit-config.yaml

* fix style.ipynb, ignore some pylint

* pyupgrade

* Revert "pyupgrade"

This reverts commit b539c71.

* don't bump pyupgrade

* Typo in random call

* Delete hidden cell

* Undo max/min rule from ruff

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Matthew Roeschke <[email protected]>
…s-dev#59985)

* Programming Language :: Python :: 3.13 added to pyproject.toml

* pyproject.toml updated successfully
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.20.0 to 2.21.0.
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](pypa/cibuildwheel@v2.20.0...v2.21.0)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Li <[email protected]>
Co-authored-by: Matthew Roeschke <[email protected]>
…dev#60006)

* STY: Bump pyright, pyupgrade and mypy for new PEP-696 syntax

* Apply update

* fix & ignore failures

* another ignore
Fix `groupby.ffill()` doc reference to rows
… (pandas-dev#60021)

* DOC: Fix title capitalization in documentation file

* DOC: Fix title capitalization in documentation files
@KevsterAmp
Copy link
Contributor Author

Oops, merged the wrong branch

@KevsterAmp KevsterAmp closed this Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.