News for hackers. Stuff that matters.
Re:Apple's Unique Device Curvature by CSSer on Saturday December 24, 2022 @10:58AM (#34117984)
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.
Re:Apple's Unique Device Curvature by tonyarkles on Saturday December 24, 2022 @11:03AM (#34118042)
Just 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