Skip to content

Commit e11de3f

Browse files
NickCrewsjcrist
authored andcommitted
fix: improve typing signature of .dropna()
1 parent 3a02965 commit e11de3f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ibis/expr/types/relations.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2064,7 +2064,9 @@ def count(self, where: ir.BooleanValue | None = None) -> ir.IntegerScalar:
20642064
return ops.CountStar(self, where).to_expr().name("count")
20652065

20662066
def dropna(
2067-
self, subset: Sequence[str] | None = None, how: Literal["any", "all"] = "any"
2067+
self,
2068+
subset: Sequence[str] | str | None = None,
2069+
how: Literal["any", "all"] = "any",
20682070
) -> Table:
20692071
"""Remove rows with null values from the table.
20702072

0 commit comments

Comments
 (0)