Skip to content

Commit

Permalink
remove numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
jitingxu1 committed Sep 24, 2024
1 parent 7006277 commit 904cf7e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ibis/backends/tests/test_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from pathlib import Path
from typing import TYPE_CHECKING

import numpy as np
import pytest
from pytest import param

Expand Down Expand Up @@ -676,7 +675,9 @@ def test_read_csv_pyarrow_options(
ft_data, tmp_path / fname, pc.WriteOptions(delimiter=new_delimiter)
)
if include_columns:
column_names = list(np.random.choice(column_names, 2, replace=False))
# try to include all types here
# pick the first 12 columns
column_names = column_names[:12]
options["include_columns"] = column_names

table = con.read_csv(tmp_path / fname, **options)
Expand Down

0 comments on commit 904cf7e

Please sign in to comment.