Is there any rationale behind numpy-ndarray? There is no info for it and I can hardly imagine a numpy question that does not deal with NDArrays to some extent. There are other tags referring to specific aspects of NumPy, numpy-broadcasting, numpy-einsum, numpy-ufunc and numpy-memmap, but I wouldn't be able to tell what kind of questions should be tagged with numpy-ndarray (and a quick look at some of the tagged questions did not make it clearer). I think it can be replaced with numpy in all cases, or if someone has an actual use for it maybe it could be added to the tag info.
1 Answer
As a numpy gold badger and one of the top answerers in the tag, I don't think the numpy-ndarray tag is useful. I can imagine a use for a tag for questions going in-depth in the ndarray representation - stuff like memory layout, memory ownership, endianness, etc., maybe call it numpy-array-internals - but a tag just for questions involving ndarrays isn't much good, and this tag invites usage for any question with arrays in it.
-
I disagree with you on the need for any replacement tag. Wouldn't such questions be exceptional, rather than the common? Assuming I'm correct, the tag would get extremely limited usage, and thus provides no real benefit over just a clear question title.– jpmc26Aug 16, 2018 at 20:20
-
5@jpmc26 I don't think the answer reads as a hard endorsement for [numpy-array-internals], that seems to me rather an example of what might make sense as numpy-*, semantically. Aug 16, 2018 at 20:25
-
1@AndrasDeak It's not a hard endorsement, but my stance is a hard rejection. =) Thus the author and I are not in agreement.– jpmc26Aug 16, 2018 at 20:26
-
@jpmc Questions dealing with Numpy array internals are probably even more rare but is rarity alone sufficient not to have a tag? What is the recommended minimal number in a tag? Aug 16, 2018 at 20:28
-
2@jpmc26 - if we leave aside the author's imagination about other related tags which might be created, do you agree with the rest of their statement. "As a
numpy
gold badger and one of the top answerers in the tag, @user2357112 [doesn't] think thenumpy-ndarray
tag is useful. [..snip...] a tag just for questions involving ndarrays isn't much good, and this tag invites usage for any question with arrays in it."– StoborAug 17, 2018 at 1:32 -
3@jpmc26: Why should we care about your disagreement with this answer, given that the said tag does not in fact exist (and no one is proposing creating it)? I don't mean to be rude, but there seems to be a lot more heat than light in these comments right now.– KevinAug 17, 2018 at 1:52
-
@Kevin You don't have to care, but the mention is a proposal, even if it's one the author isn't sure about. So I expressed an opinion that it shouldn't be created. Do with that what you will.– jpmc26Aug 17, 2018 at 15:54
numpy
in all cases. As far as I can see, there are sort of general NumPy questions (like this or this), questions about using NumPy with other tools (like this, this or this),numpy
.ndarray
s are thenumpy.matrix
class which are 1.ndarray
subclasses, and 2. getting more and more deprecated.