Skip to content

Commit

Permalink
test(docstests): nan -> NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Oct 14, 2023
1 parent 6b66c3c commit a0e85db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ibis/expr/types/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def cast(self, target_type: Any) -> Value:
│ 18.7 │
│ 17.4 │
│ 18.0 │
nan
NULL
│ 19.3 │
│ 20.6 │
│ 17.8 │
Expand Down Expand Up @@ -335,7 +335,7 @@ def typeof(self) -> ir.StringValue:
│ 39.1 │
│ 39.5 │
│ 40.3 │
nan
NULL
│ 36.7 │
└────────────────┘
>>> vals.typeof()
Expand Down
2 changes: 1 addition & 1 deletion ibis/expr/types/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def mutate(
│ Adelie │ Torgersen │ 39.1 │ 18.7 │ 181 │ … │
│ Adelie │ Torgersen │ 39.5 │ 17.4 │ 186 │ … │
│ Adelie │ Torgersen │ 40.3 │ 18.0 │ 195 │ … │
│ Adelie │ Torgersen │ nan nan │ NULL │ … │
│ Adelie │ Torgersen │ NULL NULL │ NULL │ … │
│ Adelie │ Torgersen │ 36.7 │ 19.3 │ 193 │ … │
│ Adelie │ Torgersen │ 39.3 │ 20.6 │ 190 │ … │
│ Adelie │ Torgersen │ 38.9 │ 17.8 │ 181 │ … │
Expand Down
6 changes: 3 additions & 3 deletions ibis/expr/types/relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def try_cast(self, schema: SupportsSchema) -> Table:
├───────┼─────────┤
│ 1 │ 2.2 │
│ 2 │ 3.3 │
│ 3 │ nan
│ 3 │ NULL
└───────┴─────────┘
"""
return self._cast(schema, cast_method="try_cast")
Expand Down Expand Up @@ -507,7 +507,7 @@ def __getitem__(self, what):
│ string │ string │ float64 │ float64 │ int64 │ … │
├─────────┼───────────┼────────────────┼───────────────┼───────────────────┼───┤
│ Adelie │ Torgersen │ 40.3 │ 18.0 │ 195 │ … │
│ Adelie │ Torgersen │ nan nan │ NULL │ … │
│ Adelie │ Torgersen │ NULL NULL │ NULL │ … │
│ Adelie │ Torgersen │ 36.7 │ 19.3 │ 193 │ … │
│ Adelie │ Torgersen │ 39.3 │ 20.6 │ 190 │ … │
│ Adelie │ Torgersen │ 38.9 │ 17.8 │ 181 │ … │
Expand Down Expand Up @@ -1791,7 +1791,7 @@ def select(
│ Torgersen │ 39.1 │
│ Torgersen │ 39.5 │
│ Torgersen │ 40.3 │
│ Torgersen │ nan
│ Torgersen │ NULL
│ Torgersen │ 36.7 │
└───────────┴────────────────┘
Expand Down

0 comments on commit a0e85db

Please sign in to comment.