Computer Science, asked by rextoronon8827, 11 months ago

Bumpy array has primitive data type like list in python

Answers

Answered by Anonymous
0

Answer:

How to convert a list to an array in Python

Using numpy.array() This function of the numpy library takes a list as an argument and returns an array that contains all the elements of the list. See the example below: import numpy as np. ...

Using numpy. asarray() This function calls the numpy.array() function inside itself.

Similar questions