You can do this:
newrow = [1, 2, 3]
A = numpy.vstack([A, newrow])
More Related Contents:
- What are the advantages of NumPy over regular Python lists?
- ValueError: setting an array element with a sequence
- Numpy `logical_or` for more than two arguments
- What is the difference between contiguous and non-contiguous arrays?
- Quick way to upsample numpy array by nearest neighbor tiling [duplicate]
- Count consecutive occurences of values varying in length in a numpy array
- Concatenate two NumPy arrays vertically
- Getting the indices of several elements in a NumPy array at once
- How to do n-D distance and nearest neighbor calculations on numpy arrays
- Multiplying across in a numpy array
- initialize a numpy array
- numpy array assignment problem
- Preserve custom attributes when pickling subclass of numpy array
- What does dtype=object mean while creating a numpy array?
- Why is a `for` over a Python list faster than over a Numpy array?
- Subtracting numpy arrays of different shape efficiently
- Selecting close matches from one array based on another reference array
- Input and output numpy arrays to h5py
- Why does numpy have a corresponding function for many ndarray methods?
- Numpy sub-array assignment with advanced, mixed indexing
- Efficiently sorting a numpy array in descending order?
- Numpy: Divide each row by a vector element
- Setting the fmt option in numpy.savetxt
- Access n-th dimension in python [duplicate]
- numpy division with RuntimeWarning: invalid value encountered in double_scalars
- numpy – evaluate function on a grid of points
- numpy arange: how to make “precise” array of floats?
- Shift rows of a numpy array independently
- Interweaving two NumPy arrays efficiently
- How to convert a 3d numpy array to 2d