Shortcuts

torcharrow.Column.drop_null

Column.drop_null(how: ty.Literal['any', 'all', None] = None)

Return a column/frame with rows removed where a row has any or all nulls.

Parameters:

how ({{'any','all', None}}, default None) – If ‘any’ drop row if any column is null. If ‘all’ drop row if all columns are null.

See also

icolumn.fill_null

Fill NA/NaN values using the specified method.

Examples

>>> import torcharrow as ta
>>> s = ta.column([1,2,None,4])
>>> s.drop_null()
0    1
1    2
2    4
dtype: int64, length: 3, null_count: 0

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources