Re: Empty NumPy array in Python
Posted by: Sandeep Patel
Date: May 03, 2019 10:53PM

We’ll talk about two methods to create NumPy array-

First method-
>>> import numpy
>>> numpy.array([])
array([], dtype=float64)

Second method-
>>> numpy.empty(shape=(0,0))

Options: ReplyQuote


Subject
Written By
Posted
Re: Empty NumPy array in Python
May 03, 2019 10:53PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.