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
ENH: Raise TypeError for offsets which are not supported as period frequency (#55844)
* raise ValueError for offsets which are not supported as period frequency
* correct error message in test_asfreq_MS
* simplify the condition for ValueError
* simlify the condition, correct tests
* change the condition and Error class in Period constructor
* add a note to v2.2.0
* change note in v2.2.0
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v2.2.0.rst
+1
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,7 @@ Other enhancements
103
103
- :meth:`ExtensionArray.duplicated` added to allow extension type implementations of the ``duplicated`` method (:issue:`55255`)
104
104
- DataFrame.apply now allows the usage of numba (via ``engine="numba"``) to JIT compile the passed function, allowing for potential speedups (:issue:`54666`)
105
105
- Implement masked algorithms for :meth:`Series.value_counts` (:issue:`54984`)
106
+
- Improved error message when constructing :class:`Period` with invalid offsets such as "QS" (:issue:`55785`)
0 commit comments