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.
test_dense_datetime
1 parent eac06b4 commit dda1d30Copy full SHA for dda1d30
1 file changed
tiledb/tests/test_query_condition.py
@@ -3,12 +3,11 @@
3
import math
4
import numpy as np
5
from numpy.testing import assert_array_equal
6
-import pandas as pd
7
import string
8
9
import tiledb
10
11
-from tiledb.tests.common import DiskTestCase
+from tiledb.tests.common import DiskTestCase, has_pandas
12
13
14
class QueryConditionTest(DiskTestCase):
@@ -612,7 +611,10 @@ def test_in_operator_dense(self):
612
611
result = A.query(attr_cond=tiledb.QueryCondition("S in ['8']"))[:]
613
assert len(self.filter_dense(result["S"], S_mask)) == 0
614
+ @pytest.mark.skipif(not has_pandas(), reason="pandas not installed")
615
def test_dense_datetime(self):
616
+ import pandas as pd
617
+
618
uri = self.path("query-filter-dense-datetime.tdb")
619
620
data = pd.DataFrame(
0 commit comments