mirror of
https://github.com/lancedb/lancedb.git
synced 2026-08-30 01:48:19 +00:00
style(python): format duplicate offset test
This commit is contained in:
@@ -1892,9 +1892,12 @@ def test_take_queries(tmp_path):
|
||||
]
|
||||
|
||||
# Duplicate offsets are occurrences, not set members. Ordering is unspecified.
|
||||
assert sorted(
|
||||
table.take_offsets([5, 2, 5, 17]).to_pandas()["idx"].to_list()
|
||||
) == [2, 5, 5, 17]
|
||||
assert sorted(table.take_offsets([5, 2, 5, 17]).to_pandas()["idx"].to_list()) == [
|
||||
2,
|
||||
5,
|
||||
5,
|
||||
17,
|
||||
]
|
||||
|
||||
# Take by row id
|
||||
assert list(
|
||||
|
||||
Reference in New Issue
Block a user