You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, you can use :class:`Grouper` for ``index`` and ``columns`` keywords. For detail of :class:`Grouper`, see :ref:`Grouping with a Grouper specification <groupby.specify>`.
425
424
@@ -432,7 +431,7 @@ calling :meth:`~DataFrame.to_string` if you wish:
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.19.0.rst
+2-2
Original file line number
Diff line number
Diff line change
@@ -497,8 +497,8 @@ Other enhancements
497
497
),
498
498
)
499
499
df
500
-
df.resample("M", on="date").sum()
501
-
df.resample("M", level="d").sum()
500
+
df.resample("M", on="date")[["a"]].sum()
501
+
df.resample("M", level="d")[["a"]].sum()
502
502
503
503
- The ``.get_credentials()`` method of ``GbqConnector`` can now first try to fetch `the application default credentials <https://developers.google.com/identity/protocols/application-default-credentials>`__. See the docs for more details (:issue:`13577`).
504
504
- The ``.tz_localize()`` method of ``DatetimeIndex`` and ``Timestamp`` has gained the ``errors`` keyword, so you can potentially coerce nonexistent timestamps to ``NaT``. The default behavior remains to raising a ``NonExistentTimeError`` (:issue:`13057`)
0 commit comments