Online NumPy Compiler

This is an online compiler that supports the NumPy library..

import numpy as np cd3=np.array([[1,2],[3,4]]) cd3.resize((2,1),refcheck=False) print(cd3)


If the code takes user input, put it here. For multiple inputs, one per line

NumPy is a widely used Python library that supports large, multidimensional arrays and metrics. Using NumPy, you can perform operations using a large collection of high-level mathematical functions to operate on arrays.

For scientific computing, linear algebra NumPy is the most loving library. It is very fast as it has binding C libraries in the backend.