捷徑

torcharrow.Column.fill_null

Column.fill_null(fill_value: Union[int, float, bool, str, Dict])

使用指定的方法填補空值。

參數:

fill_value (int, float, boolstr) –

另請參閱

icolumn.drop_null

傳回一個已移除空值列的欄/框架

範例

>>> 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

文件

取得 PyTorch 完整的開發者文件

檢視文件

教學

取得適用於初學者和進階開發者的深入教學

檢視教學

資源

尋找開發資源並獲得問題解答

檢視資源