We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76ad5b0 commit 2e9687bCopy full SHA for 2e9687b
spec/API_specification/dataframe_api/dataframe_object.py
@@ -854,6 +854,28 @@ def fill_null(
854
"""
855
...
856
857
+ def drop_nulls(
858
+ self,
859
+ *,
860
+ column_names: list[str] | None = None,
861
+ ) -> Self:
862
+ """Drop rows containing null values.
863
+
864
+ Parameters
865
+ ----------
866
+ column_names : list[str] | None
867
+ A list of column names to consider when dropping nulls.
868
+ If ``None``, all columns will be considered.
869
870
+ Raises
871
+ ------
872
+ KeyError
873
+ If ``column_names`` contains a column name that is not present in
874
+ the dataframe.
875
876
+ """
877
+ ...
878
879
def to_array(self, dtype: DType) -> Any:
880
"""Convert to array-API-compliant object.
881
0 commit comments