S. Gamgee
S. Gamgee

Reputation: 521

Python Numpy - What is numpy.numarray?

When experimenting with Numpy, I found:

In [1]: numpy.numarray
Out[1]: 'removed'

In [2]: type(numpy.numarray)
Out[2]: str

What is numpy.numarray? What is it's purpose in Numpy? Why does it only say 'removed'?

Upvotes: 3

Views: 2169

Answers (1)

Ami Tavory
Ami Tavory

Reputation: 76297

numarray was a predecessor of numpy. A long time ago, there were several packages (numarray, numeric), which had lots of overlap, and eventually were superceded by numpy.

(Wikipedia has a whole section on numpy history, if you're into this sort of stuff.)

numarray was removed in 1.9. It has probably been replaced by this string, so that attempts to reference it would lead to something legible. In any case, there is nothing useful in this anymore.

Upvotes: 3

Related Questions