Missing line from previous pr
State: closed


The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7027). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

<details>
<summary>Show benchmarks</summary>

PyArrow==8.0.0

<details>
<summary>Show updated benchmarks!</summary>

### Benchmark: benchmark_array_xd.json

| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |
|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| new / old (diff) | 0.005612 / 0.011353 (-0.005741) | 0.004023 / 0.011008 (-0.006985) | 0.065578 / 0.038508 (0.027070) | 0.030476 / 0.023109 (0.007367) | 0.237131 / 0.275898 (-0.038767) | 0.269388 / 0.323480 (-0.054092) | 0.003364 / 0.007986 (-0.004622) | 0.002938 / 0.004328 (-0.001390) | 0.050867 / 0.004250 (0.046617) | 0.049456 / 0.037052 (0.012403) | 0.249587 / 0.258489 (-0.008902) | 0.291132 / 0.293841 (-0.002709) | 0.029373 / 0.128546 (-0.099174) | 0.012266 / 0.075646 (-0.063380) | 0.206239 / 0.419271 (-0.213033) | 0.037192 / 0.043533 (-0.006340) | 0.244902 / 0.255139 (-0.010237) | 0.269779 / 0.283200 (-0.013421) | 0.019870 / 0.141683 (-0.121813) | 1.123697 / 1.452155 (-0.328458) | 1.181256 / 1.492716 (-0.311460) |

### Benchmark: benchmark_getitem\_100B.json

| metric | get_batch_of\_1024\_random_rows | get_batch_of\_1024\_rows | get_first_row | get_last_row |
|--------|---|---|---|---|
| new / old (diff) | 0.108535 / 0.018006 (0.090529) | 0.317838 / 0.000490 (0.317348) | 0.000216 / 0.000200 (0.000016) | 0.000043 / 0.000054 (-0.000012) |

### Benchmark: benchmark_indices_mapping.json

| metric | select | shard | shuffle | sort | train_test_split |
|--------|---|---|---|---|---|
| new / old (diff) | 0.019097 / 0.037411 (-0.018315) | 0.063836 / 0.014526 (0.049310) | 0.075446 / 0.176557 (-0.101111) | 0.124503 / 0.737135 (-0.612632) | 0.077730 / 0.296338 (-0.218608) |

### Benchmark: benchmark_iterating.json

| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |
|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| new / old (diff) | 0.284688 / 0.215209 (0.069479) | 2.817832 / 2.077655 (0.740178) | 1.487342 / 1.504120 (-0.016778) | 1.354037 / 1.541195 (-0.187158) | 1.426904 / 1.468490 (-0.041586) | 0.728754 / 4.584777 (-3.856022) | 2.361140 / 3.745712 (-1.384573) | 2.926215 / 5.269862 (-2.343647) | 1.981767 / 4.565676 (-2.583909) | 0.079278 / 0.424275 (-0.344997) | 0.005567 / 0.007607 (-0.002040) | 0.336590 / 0.226044 (0.110546) | 3.371062 / 2.268929 (1.102134) | 1.845343 / 55.444624 (-53.599282) | 1.537699 / 6.876477 (-5.338777) | 1.731407 / 2.142072 (-0.410665) | 0.796148 / 4.805227 (-4.009079) | 0.133830 / 6.500664 (-6.366835) | 0.043117 / 0.075469 (-0.032352) |

### Benchmark: benchmark_map_filter.json

| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |
|--------|---|---|---|---|---|---|---|---|---|
| new / old (diff) | 0.980786 / 1.841788 (-0.861001) | 12.653553 / 8.074308 (4.579245) | 9.402636 / 10.191392 (-0.788756) | 0.143756 / 0.680424 (-0.536667) | 0.014896 / 0.534201 (-0.519304) | 0.328796 / 0.579283 (-0.250487) | 0.275108 / 0.434364 (-0.159255) | 0.343397 / 0.540337 (-0.196940) | 0.472301 / 1.386936 (-0.914635) |

</details>
PyArrow==latest

<details>
<summary>Show updated benchmarks!</summary>

### Benchmark: benchmark_array_xd.json

| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |
|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| new / old (diff) | 0.005882 / 0.011353 (-0.005471) | 0.003982 / 0.011008 (-0.007026) | 0.050484 / 0.038508 (0.011976) | 0.035217 / 0.023109 (0.012108) | 0.271683 / 0.275898 (-0.004215) | 0.291498 / 0.323480 (-0.031982) | 0.004429 / 0.007986 (-0.003557) | 0.002928 / 0.004328 (-0.001401) | 0.049386 / 0.004250 (0.045136) | 0.040868 / 0.037052 (0.003815) | 0.280968 / 0.258489 (0.022479) | 0.314880 / 0.293841 (0.021039) | 0.032590 / 0.128546 (-0.095956) | 0.012319 / 0.075646 (-0.063327) | 0.060354 / 0.419271 (-0.358917) | 0.034138 / 0.043533 (-0.009394) | 0.267491 / 0.255139 (0.012352) | 0.283077 / 0.283200 (-0.000123) | 0.017784 / 0.141683 (-0.123899) | 1.154835 / 1.452155 (-0.297320) | 1.179271 / 1.492716 (-0.313446) |

### Benchmark: benchmark_getitem\_100B.json

| metric | get_batch_of\_1024\_random_rows | get_batch_of\_1024\_rows | get_first_row | get_last_row |
|--------|---|---|---|---|
| new / old (diff) | 0.100519 / 0.018006 (0.082513) | 0.309043 / 0.000490 (0.308553) | 0.000222 / 0.000200 (0.000022) | 0.000055 / 0.000054 (0.000001) |

### Benchmark: benchmark_indices_mapping.json

| metric | select | shard | shuffle | sort | train_test_split |
|--------|---|---|---|---|---|
| new / old (diff) | 0.024056 / 0.037411 (-0.013356) | 0.077810 / 0.014526 (0.063284) | 0.092682 / 0.176557 (-0.083875) | 0.132101 / 0.737135 (-0.605034) | 0.091986 / 0.296338 (-0.204352) |

### Benchmark: benchmark_iterating.json

| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |
|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| new / old (diff) | 0.298186 / 0.215209 (0.082977) | 2.905134 / 2.077655 (0.827479) | 1.552364 / 1.504120 (0.048245) | 1.424644 / 1.541195 (-0.116551) | 1.457667 / 1.468490 (-0.010823) | 0.717606 / 4.584777 (-3.867171) | 0.944470 / 3.745712 (-2.801242) | 3.056236 / 5.269862 (-2.213626) | 1.946453 / 4.565676 (-2.619223) | 0.080525 / 0.424275 (-0.343750) | 0.005235 / 0.007607 (-0.002372) | 0.348561 / 0.226044 (0.122516) | 3.449350 / 2.268929 (1.180421) | 1.930165 / 55.444624 (-53.514459) | 1.620883 / 6.876477 (-5.255593) | 1.671963 / 2.142072 (-0.470109) | 0.801978 / 4.805227 (-4.003249) | 0.134494 / 6.500664 (-6.366170) | 0.041888 / 0.075469 (-0.033581) |

### Benchmark: benchmark_map_filter.json

| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |
|--------|---|---|---|---|---|---|---|---|---|
| new / old (diff) | 1.005961 / 1.841788 (-0.835826) | 12.687638 / 8.074308 (4.613330) | 10.398730 / 10.191392 (0.207338) | 0.134503 / 0.680424 (-0.545920) | 0.015839 / 0.534201 (-0.518362) | 0.307465 / 0.579283 (-0.271819) | 0.130805 / 0.434364 (-0.303559) | 0.349079 / 0.540337 (-0.191259) | 0.437609 / 1.386936 (-0.949327) |

</details>
</details>

![](https://cml.dev/watermark.png#cc6ac9e5f70811a450198203ddc077c0c7bff206 "CML watermark")