ACL 2022 Highlights

ACL 2022 took place in Dublin from 22nd–27th May 2022. This was my first in-person conference since ACL 2019. This is also my first conference highlights post since NAACL 2019. With 1032 accepted papers (604 long, 97 short, 331 in Findings), this post can only offer a glimpse of the diverse research presented at the conference—biased towards my research interests. Here are the themes that were most noticeable for me across the conference program: Here are highlights of other conference […]

Read more

Pandas vectorization: faster code, slower code, bloated memory

When you’re processing data with Pandas, so-called “vectorized” operations can significantly speed up your code. Or at least, that’s the theory. In practice, in some situations Pandas vectorized operations can actually make your code slower, or at least no faster. And they can also significantly increase memory usage. Let’s dig in and see what vectorization means in Pandas, when and why it helps, and when it’s harmful. Vectorization: what it means, and how it speeds up your code Vectorization can […]

Read more

A First Look at PyScript: Python in the Web Browser

PyScript is a brand-new framework that caused a lot of excitement when Peter Wang, the CEO and co-founder of Anaconda, Inc., revealed it during his keynote speech at PyCon US 2022. Although this project is just an experiment in an early phase of development, people on social media seem to have already fallen in love with it. This tutorial will get you up to speed with PyScript, while the official documentation is still in the making. In this tutorial, you’ll […]

Read more

Write and Test a Python Function: Interview Practice

Whether you’re looking to ace your coding interview or simply to level up your development skills, solving coding challenges can help you grow as a programmer. In this Real Python Code Conversation, Philipp challenges Martin to write a function that doubles each character in a string. Through their conversation, you’ll learn how to tackle a coding challenge and stand out from the pack in your job search. In this video course, you’ll learn how to: Use functions to write reusable, […]

Read more

Build a Quiz Application With Python

In this tutorial, you’ll build a Python quiz application for the terminal. The word quiz was first used in 1781 to mean eccentric person. Nowadays, it’s mostly used to describe short tests of trivia or expert knowledge with questions like the following: When was the first known use of the word quiz? By following along in this step-by-step project, you’ll build an application that can test a person’s expertise on a range of topics. You can use this project to […]

Read more

Notes from ACL 2022

Here are some of my notes and comments on what I had a chance to see at ACL in Dublin last week (my first in-person conference since 2019). ACL D&I 60-60 initiative ACL announced its 60-60 initiative, for the 60th birthday of ACL, all materials that ACL produces should be available in 60 languages. The initiative already machine-translated titles and abstracts of ACL 2022 papers and did an automatic voiceover for plenary talks at the conference. Although this is definitely […]

Read more

LBYL vs EAFP: Preventing or Handling Errors in Python

Dealing with errors and exceptional situations is a common requirement in programming. You can either prevent errors before they happen or handle errors after they’ve happened. In general, you’ll have two coding styles matching these strategies: look before you leap (LBYL), and easier to ask forgiveness than permission (EAFP), respectively. In this tutorial, you’ll dive into the questions and considerations surrounding LBYL vs EAFP in Python. By learning about Python’s LBYL and EAFP coding styles, you’ll be able to decide […]

Read more

Data Cleaning With pandas and NumPy

Data scientists spend a large amount of their time cleaning datasets so that they’re easier to work with. In fact, the 80/20 rule says that the initial steps of obtaining and cleaning data account for 80% of the time spent on any given project. So, if you’re just stepping into this field or planning to step into this field, it’s important to be able to deal with messy data, whether that means missing values, inconsistent formatting, malformed records, or nonsensical […]

Read more

Python News: What’s New From May 2022

The first days of May 2022 were the last days of this year’s PyCon US event. Just before the PyCon conference, the Python Language Summit brought together Python core developers, triagers, and special guests. Some of those attendees were the very same people who shipped two important Python releases this month. The third Thursday of May marked Global Accessibility Awareness Day. This day aims to raise awareness of how to build inclusive digital products. Read on to dive into the […]

Read more

What is AI? And what does it mean for me and the world?

Listen to my interview with the Insatiably Curious Podcast host, David Gee. Transcript of the podcast is as below. 00:07 Welcome to the Insatiably Curious Podcast, where we invite lifelong learners to join us on a personal and professional journey. Now here to inform, entertain and enlighten, while always keeping it interesting from our nation’s capital. It’s your host, David Gee. David Gee  00:26 Joining us today so glad to have her, Kavita Ganesan… She is the author of “The […]

Read more
1 183 184 185 186 187 942