Expand description
Reads decimal and unsigned integer columns from the text of a csv or json file.
A file reader that decodes a number into a Float64 loses the digits a Float64 can’t
hold. Arrow’s own decimal decoding is wrong for some numbers in scientific notation, and its
json integer decoding goes through a Float64 for them. So the readers hand over the text
of such a column and parse_number_columns parses it.
Enums§
- Error
Kind 🔒 - Text
Number - The type to parse the text of a column into.
Functions§
- parse_
decimal128 - Parses a decimal number written in plain or scientific notation and returns its value
with
scalefractional digits, rounded half away from zero. - parse_
digits 🔒 - Returns the sign of the number in
textand the firstprecisiondigits at most of|number| * 10^scale. The digits after those are rounded half away from zero withroundand dropped without it. - parse_
number_ 🔒array - parse_
number_ 🔒batch - parse_
number_ columns - Parses the string columns of
streamthat have a type innumbersinto columns of that type.numbershas one entry for each column of the stream. - parse_
uint64 - Parses an unsigned integer written in plain or scientific notation.