Skip to content

Commit 18aa0cb

Browse files
authored
Support underscore int read instruction (#7488)
support underscore int read instruction
1 parent a505ed5 commit 18aa0cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/datasets/arrow_reader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
^
4949
(?P<split>{_split_re[1:-1]})
5050
(\[
51-
((?P<from>-?\d+)
51+
((?P<from>-?[\d_]+)
5252
(?P<from_pct>%)?)?
5353
:
54-
((?P<to>-?\d+)
54+
((?P<to>-?[\d_]+)
5555
(?P<to_pct>%)?)?
5656
\])?(\((?P<rounding>[^\)]*)\))?
5757
$

0 commit comments

Comments
 (0)