Repository navigation
Commit 494d0e3
authored
### Rationale for this change
Slicing an array in non-trivial steps raises an exception when Numpy is not installed.
#46606
### What changes are included in this PR?
I changed `np.arange(...)` to `list(range(...))` In `python/pyarrow/array.pxi`
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
* GitHub Issue: #46606
Authored-by: shu-kitamura <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
1 parent 30cc5dd commit 494d0e3
2 files changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
588 | 590 | | |
589 | 591 | | |
590 | 592 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
507 | 506 | | |
508 | 507 | | |
509 | | - | |
510 | | - | |
| 508 | + | |
| 509 | + | |
511 | 510 | | |
512 | 511 | | |
513 | 512 | | |
514 | | - | |
| 513 | + | |
515 | 514 | | |
516 | 515 | | |
517 | 516 | | |
| |||
525 | 524 | | |
526 | 525 | | |
527 | 526 | | |
528 | | - | |
| 527 | + | |
529 | 528 | | |
530 | 529 | | |
531 | 530 | | |
532 | 531 | | |
533 | 532 | | |
534 | 533 | | |
535 | 534 | | |
536 | | - | |
| 535 | + | |
537 | 536 | | |
538 | 537 | | |
539 | 538 | | |
| |||
0 commit comments