why did we learn python uni? Because we had to become a senior machine learning engineer before we had the time to learn programming. Before we start, uh, make sure you know we’re talking about python 3, not python 2. Actually, a bit of python 2.7 is also okay—geared towards children and phds. Children and phds.
python i know python, which means i know machine learning, ai, data science, computer vision, big data, keras, tensorflow, psychic learn, high torch, open cv, deep learning, nlp, huge community of kids now. i didn’t learn python in an online course—I actually never really learned it.
lists are arrays. tuples are arrays. sets have no order. dicts are arrays. comprehensions are arrays. numpy arrays are arrays. no more semicolon errors—only white space. arrows? where is that arrow? enumerate, enumerate, zip, os.walk, tuple unpacking.
it’s not dynamically typed—it’s strongly dynamically typed in python. we don’t do constants; we only do change. who put the main function at the bottom of the file? equality is not identity—is not identity.
i can do in python in five lines, which you can do in c in fifty, and it will take ten times the time to execute. oh, i didn’t—I didn’t say that wrong, right? booyah! who needs brackets anyway? all these people with their logical syntax sugar might need brackets. you can return multiple values, multiple values, multiple values.
udemy? no, no—I learned all of this on medium. how many libraries does it take until i can actually put python as my status on linkedin? like three: numpy, matplotlib, pandas, pandas, pandas, pandas—or maybe two. you know, because we start counting from zero. str[-1::-1], huh?
all right, so that's smart engineering. fast. and that's engineer—that's smart. all the compiled languages are worse, because you get errors before you can even run them. it’s like, man, it’s really, you know, holding you back from innovation, science, automation, progress. not very child friendly, if you ask me—and i’m not a child, so i’m a phd.
oh, the shift goes into the genes in c++—everything takes so long. you have to write int main, declare variables; it’s literally just the execution that’s fast. who cares? it’s about the scientific, revolutionary data science, machine learning, nlp, big data that you’re going to do with yourself. or you can automate your coffee machine, which does the coffee that helps you make the scientific advances.
in lua: ideas to code. why can’t i just run this in latex? latex! oh, this is a python interview—alright. python, why am i so good at this? i’ve never written code before. tuple open bracket.
oh, this is machine learning. oh, this is, uh, data science, uh, big data, nlp, computer vision, um, ai. you know what that is? i can give you a quick tutorial—I just learned that on youtube, on medium, uh, just an hour ago. that’s uh machine learning generative adversarial networks—have you heard of them? or me neither. let’s check it out.
oh, it’s really easy to find—the documentation is just one page. almost there, almost there—where’s the async with? all right. oh, you want to learn python? we can do it just right now. you don’t really need to learn anything. or you need to learn at least three libraries: pandas, matplotlib, and numpy.