Tag: Pandas

  • Jupyter memory usage: Why del doesn’t free your DataFrame

    Python Jupyter memory quirk: Deleting variables doesn’t always free memory! Use df.head() instead of df to keep big values out of Jupyter’s Out dict.

    Read more

  • Your personal mentor for Python and Pandas

    I’ve been teaching Python and Pandas for decades — in companies, at conferences, and on YouTube — and I keep hearing the same frustrations everywhere I go: That’s why I’ve spent the last few months completely rebuilding LernerPython.com. It’s a complete, structured learning experience, not just a set of courses. Instead of leaving you on…

    Read more

  • Sharpen your Pandas skills with “Bamboo Weekly”

    Data is the future. Heck, you could make a compelling argument that it’s the present. If you know how to work with data, then your career is virtually assured. You’ll have your pick of cool jobs, interesting projects, good employers, and smart colleagues. Even better? The most popular language for working with data is Python.…

    Read more

  • Upcoming Python/Pandas courses for seasoned coders

    Python and Pandas can improve your career. I say this all the time, partly because it’s my job (as a Python/Pandas trainer), and partly because I’ve seen how people’s lives and careers can improve with this knowledge. But what if you’re already familiar with Python and Pandas? The good news (and bad news, for that…

    Read more

  • Lots of new YouTube videos about Python and Pandas!

    I’ve been blogging a lot less lately, in part because I’ve been writing more on Twitter and recording more YouTube videos. Among those YouTube videos are: Intro to Python exceptions, https://www.youtube.com/watch?v=ilJfD65d-2Q “for” loops vs list comprehensions, https://www.youtube.com/watch?v=dY8lD_fk0r4 Understanding the “if __name__ == ‘__main__’” line in Python modules: https://www.youtube.com/watch?v=sf3vENkPKj8 All about Python identifiers: https://www.youtube.com/watch?v=CTxLVMFkbT8 Peeking at…

    Read more

  • Improve your “pandas” skills with “Pandas Workout”

    As you might know, I’ve been working lately on my new book, Pandas Workout, with 50 exercises to improve your fluency using the “pandas” library for data analysis. Well, I have exciting news: The book is now available as a MEAP, aka the “Manning Early Access Program.” This means that if you buy the book…

    Read more

  • Summary of my “reduce” series

    I teach Ruby and Python to a lot of people — in formal courses, and in one-on-one pairing sessions, both online and in person.  I’ve found that for many people, the whole notion of functional programming seems strange and difficult, as well as something of a waste of time.  After all, if you have objects,…

    Read more

  • Understanding “reduce” (first in a series)

    One of the notable things about MIT’s computer science curriculum, at least back when I was studying there, was that you didn’t learn any “practical” programming languages.  Our work was all done in either Scheme (a dialect of Lisp) or in CLU (an early object-oriented language).  I can’t say that I have too many memories,…

    Read more