File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ Other enhancements
207207- The ``partition_cols `` argument in :meth: `DataFrame.to_parquet ` now accepts a string (:issue: `27117 `)
208208- :func: `to_parquet ` now appropriately handles the ``schema `` argument for user defined schemas in the pyarrow engine. (:issue: `30270 `)
209209- DataFrame constructor preserve `ExtensionArray ` dtype with `ExtensionArray ` (:issue: `11363 `)
210- - The pandas.datetime submodule is now deprecated. Import datetime directly instead(:issue: `30296 `)
210+ - The `` pandas.datetime `` submodule is now deprecated. Import `` datetime `` directly instead(:issue: `30296 `)
211211
212212
213213Build Changes
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ class SparseDataFrame:
248248 class SparseSeries :
249249 pass
250250
251- class Datetime :
251+ class __Datetime :
252252 def __init__ (self ):
253253 from datetime import datetime
254254 import warnings
@@ -269,7 +269,7 @@ def __getattr__(self, item):
269269 except AttributeError :
270270 raise AttributeError (f"module datetime has no attribute { item } " )
271271
272- datetime = Datetime ()
272+ datetime = __Datetime ()
273273
274274
275275# module level doc-string
You can’t perform that action at this time.
0 commit comments