Skip to content

Commit 32eedbc

Browse files
committed
Remove s in NaNs
1 parent 641ab7e commit 32eedbc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

python/pyarrow/table.pxi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3509,7 +3509,7 @@ cdef class RecordBatch(_Tabular):
35093509
b: [10,20,30,40,null]
35103510
35113511
Convert a RecordBatch to row-major Tensor with null values
3512-
written as ``NaN``s
3512+
written as ``NaN``:
35133513
35143514
>>> batch.to_tensor(null_to_nan=True)
35153515
<pyarrow.Tensor>
@@ -3523,7 +3523,7 @@ cdef class RecordBatch(_Tabular):
35233523
[ 4., 40.],
35243524
[nan, nan]])
35253525
3526-
Convert a RecordBatch to column-major Tensor
3526+
Convert a RecordBatch to column-major Tensor:
35273527
35283528
>>> batch.to_tensor(null_to_nan=True, row_major=False)
35293529
<pyarrow.Tensor>
@@ -4908,7 +4908,7 @@ cdef class Table(_Tabular):
49084908
a: [[1,2],[3,4,null]]
49094909
b: [[10,20,30],[40,null]]
49104910
4911-
Convert a Table to row-major Tensor with null values written as ``NaN``s:
4911+
Convert a Table to row-major Tensor with null values written as ``NaN``:
49124912
49134913
>>> table.to_tensor(null_to_nan=True)
49144914
<pyarrow.Tensor>

0 commit comments

Comments
 (0)