Skip to content

Commit 9a7deca

Browse files
committed
fix formatting in whatsnew and add issue number to tests
1 parent a269f5f commit 9a7deca

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

doc/source/whatsnew/v0.24.0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Datetimelike
131131

132132
- Fixed bug where two :class:`DateOffset` objects with different ``normalize`` attributes could evaluate as equal (:issue:`21404`)
133133
- Bug in :class:`Index` with ``datetime64[ns, tz]`` dtype that did not localize integer data correctly (:issue:`20964`)
134-
- Fixed bug where `describe` method on tz-aware datetimes did not show `first` and `last` result (:issue:`21328`)
134+
- Fixed bug where :meth:`DataFrame.describe` and :meth:`Series.describe` on tz-aware datetimes did not show `first` and `last` result (:issue:`21328`)
135135

136136
Timedelta
137137
^^^^^^^^^

pandas/tests/frame/test_analytics.py

+1
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ def test_describe_timedelta_values(self):
418418
assert repr(res) == exp_repr
419419

420420
def test_describe_tz_values(self, tz_naive_fixture):
421+
# GH 21332
421422
tz = tz_naive_fixture
422423
s1 = Series(range(5))
423424
start = Timestamp(2018, 1, 1)

pandas/tests/series/test_analytics.py

+1
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ def test_describe(self):
337337
tm.assert_series_equal(result, expected)
338338

339339
def test_describe_with_tz(self, tz_naive_fixture):
340+
# GH 21332
340341
tz = tz_naive_fixture
341342
name = tz_naive_fixture
342343
start = Timestamp(2018, 1, 1)

0 commit comments

Comments
 (0)