Skip to content

Commit

Permalink
test(examples): add penguins example test (#9130)
Browse files Browse the repository at this point in the history
The palmer penguins data has null valued integers, which when used to
create a `memtable`, leads to pandas casting a column to `float` because
it reads in the nulls as NaN.

We added a fix for this for some backends in #9094.
  • Loading branch information
gforsyth authored May 6, 2024
1 parent 2ba1884 commit edcf544
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ibis/backends/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,20 @@
),
),
),
param(
"penguins",
[
"species",
"island",
"bill_length_mm",
"bill_depth_mm",
"flipper_length_mm",
"body_mass_g",
"sex",
"year",
],
id="has-null-integer-values",
),
],
)
def test_load_examples(con, example, columns):
Expand Down

0 comments on commit edcf544

Please sign in to comment.