We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fee2b87 commit 71dd600Copy full SHA for 71dd600
asv_bench/benchmarks/algos/isin.py
@@ -1,6 +1,9 @@
1
import numpy as np
2
3
-from pandas.compat.numpy import np_version_under1p20
+try:
4
+ from pandas.compat import np_version_under1p20
5
+except ImportError:
6
+ from pandas.compat.numpy import _np_version_under1p20 as np_version_under1p20
7
8
from pandas import (
9
Categorical,
0 commit comments