We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 802ac84 commit 670a8f9Copy full SHA for 670a8f9
pandas/core/dtypes/common.py
@@ -745,7 +745,6 @@ def is_implicit_conversion_to_float64(source, target) -> bool:
745
False
746
>>> is_implicit_conversion_to_float64("int", int)
747
748
- >>> import numpy as np
749
>>> is_implicit_conversion_to_float64(int, np.int64)
750
751
>>> is_implicit_conversion_to_float64(np.uint64, np.int64)
@@ -762,7 +761,6 @@ def is_implicit_conversion_to_float64(source, target) -> bool:
762
761
763
>>> is_implicit_conversion_to_float64(object, "category")
764
765
- import pandas as pd
766
>>> is_implicit_conversion_to_float64(np.int64, pd.UInt64Dtype())
767
True
768
>>> from pandas.core.dtypes.dtypes import CategoricalDtype
0 commit comments