wafrat
  • Home
Subscribe

numpy

A collection of 1 post
numpy

Fixing `TypeError: only integer scalar arrays can be converted to a scalar index`

This will be a short post. I was trying to concatenate two numpy arrays, when I got this exception: TypeError: only integer scalar arrays can be converted to a scalar index I was following https://numpy.org/doc/stable/reference/generated/numpy.concatenate.html. It turned out I misread the
Jun 9, 2021 — 1 min read
wafrat © 2025