Skip to content
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

Pandas 2.0 Migration #1095

Closed
1 of 13 tasks
loicdiridollou opened this issue Jan 12, 2025 · 1 comment
Closed
1 of 13 tasks

Pandas 2.0 Migration #1095

loicdiridollou opened this issue Jan 12, 2025 · 1 comment

Comments

@loicdiridollou
Copy link
Contributor

loicdiridollou commented Jan 12, 2025

While working on the following, I noticed that you could not pass a list of str to to_timedelta although this is used in the examples in the docs (https://pandas.pydata.org/docs/reference/api/pandas.DatetimeIndex.as_unit.html#pandas.DatetimeIndex.as_unit)

Also noticed these ones from the tracker have no pending actions and could be marked as done:

  • Removed arguments verbose and encoding from DataFrame.to_excel() and Series.to_excel()
  • Remove argument inplace from MultiIndex.set_levels() and MultiIndex.set_codes()
  • Removed deprecated Index.is_monotonic(), and Series.is_monotonic()
  • Removed deprecated null_counts argument in DataFrame.info()
  • Removed deprecated RangeIndex._start(), RangeIndex._stop(), RangeIndex._step()
  • Removed deprecated Series.append(), DataFrame.append()
  • Removed deprecated DataFrame._AXIS_NUMBERS(), DataFrame._AXIS_NAMES(), Series._AXIS_NUMBERS(), Series._AXIS_NAMES()
  • Default value of dtype in get_dummies() is changed to bool from uint8
  • DataFrame.plot.hist() now recognizes xlabel and ylabel arguments
  • to_datetime() now accepts "ISO8601" as an argument to format, which will match any ISO8601 string (but possibly not identically-formatted)
  • to_datetime() now accepts "mixed" as an argument to format, which will infer the format for each element individually
  • The levels of the index of the Series returned from Series.sparse.from_coo now always have dtype int32. Previously they had dtype int64
@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Jan 13, 2025

I have updated the master list according to what you wrote above.

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 a pull request may close this issue.

2 participants