torcharrow.Column.fill_null¶
- Column.fill_null(fill_value: Union[int, float, bool, str, Dict])¶
Fill null values using the specified method.
- Parameters:
fill_value (int, float, bool, or str) –
See also
icolumn.drop_null
Return a column/frame with rows removed where a
row
Examples
>>> import torcharrow as ta >>> s = ta.column([1,2,None,4]) >>> s.fill_null(999) 0 1 1 2 2 999 3 4 dtype: int64, length: 4, null_count: 0