Tag Archives: Python-numpy

NumPy in Python | Set 2 (Advanced)

NumPy in Python | Set 1 (Introduction) This article discusses some more and a bit advanced methods available in NumPy. Stacking: Several arrays can be stacked together along different axes. np.vstack: To stack arrays along vertical axis. np.hstack: To stack arrays along horizontal axis. np.column_stack: To stack 1-D arrays as columns into 2-D arrays. np.concatenate:… Read More »

NumPy in Python | Set 1 (Introduction)

This article will help you get acquainted with the widely used array-processing library in Python, NumPy. What is NumPy? NumPy is a general-purpose array-processing package. It provides a high-performance multidimensional array object, and tools for working with these arrays. It is the fundamental package for scientific computing with Python. It contains various features including these… Read More »