4 ms·
Very cool article! Thanks for sharing. Is numpy just global in Python now? I see it everywhere, and I eventually sound it out. Yet I never fail to have a few mo
by CSSer 4y ago
Very cool article! Thanks for sharing. Is numpy just global in Python now? I see it everywhere, and I eventually sound it out. Yet I never fail to have a few moments where I go, “Wait, what is ‘np’? Oh, yeah… Numpy.” And I always feel like just listing it as an import in the snippet would’ve solved it.
- tonyarkles 4y agoJust a “standard” convention. I’ve been doing a bunch of analysis work lately and almost all of the scripts start with something like: import numpy as np import pandas as pd import seaborn as sns import sympy as sp