Get the latest tech news
"Data" Sucks
The most consistently bad variable name.
I think the worst variable name in all of programming is the word "data". I mean, it's a dictionary, but since it's only half typed, and not something strict like a dict[str, int] or something, once again, it could technically be anything. However, np.ndarray s are actually quite spicy multi-dimensional containers, so you usually want to specify what sort of data array you're expecting unless a "z-score" is something that applies to all ndarrays regardless of size and dimensionality.
Or read this on Hacker News