Top "Structured-array" questions

Numpy structured arrays (aka "Record arrays") allow for inhomogenous datatypes (structs/records) to be stored in a single numpy array

Structured 2D Numpy Array: setting column and row names

I'm trying to find a nice way to take a 2d numpy array and attach column and row names as …

python arrays numpy structured-array
numpy: How to add a column to an existing structured array?

I have a starting array such as: [(1, [-112.01268501699997, 40.64249414272372]) (2, [-111.86145708699996, 40.4945008710162])] The first column is an int and the second is a …

python python-2.7 numpy structured-array recarray
Creating a structured array from a list

I have a simple list of elements and I'm trying to make a structured array out of it. This naive …

python numpy structured-array