Skip to content

Commit

Permalink
fix: improve typing signature of .dropna()
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCrews authored and jcrist committed Apr 5, 2023
1 parent 3a02965 commit e11de3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ibis/expr/types/relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,9 @@ def count(self, where: ir.BooleanValue | None = None) -> ir.IntegerScalar:
return ops.CountStar(self, where).to_expr().name("count")

def dropna(
self, subset: Sequence[str] | None = None, how: Literal["any", "all"] = "any"
self,
subset: Sequence[str] | str | None = None,
how: Literal["any", "all"] = "any",
) -> Table:
"""Remove rows with null values from the table.
Expand Down

0 comments on commit e11de3f

Please sign in to comment.