Skip to content

Commit dba7bbf

Browse files
authored
add any and all rowwise (#127)
1 parent f527136 commit dba7bbf

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

spec/API_specification/dataframe_api/dataframe_object.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,34 @@ def all(self, skipna: bool = True) -> DataFrame:
501501
If any of the DataFrame's columns is not boolean.
502502
"""
503503
...
504+
505+
def any_rowwise(self, skipna: bool = True) -> Column:
506+
"""
507+
Reduction returns a Column.
508+
509+
Differs from ``DataFrame.any`` and that the reduction happens
510+
for each row, rather than for each column.
511+
512+
Raises
513+
------
514+
ValueError
515+
If any of the DataFrame's columns is not boolean.
516+
"""
517+
...
518+
519+
def all_rowwise(self, skipna: bool = True) -> Column:
520+
"""
521+
Reduction returns a Column.
522+
523+
Differs from ``DataFrame.all`` and that the reduction happens
524+
for each row, rather than for each column.
525+
526+
Raises
527+
------
528+
ValueError
529+
If any of the DataFrame's columns is not boolean.
530+
"""
531+
...
504532

505533
def min(self, skipna: bool = True) -> DataFrame:
506534
"""

0 commit comments

Comments
 (0)