Tag: python

Multiprocessing vs. Threading in Python: What Every Data Scientist Needs to Know

Sooner or later, every data science project faces an inevitable challenge: speed. Working with larger data sets leads to slower processing thereof, so you’ll eventually have to think about optimizing… Read more »

Write a function to flatten a nested dictionary separated by period

This problem was asked by Stripe. Write a function to flatten a nested dictionary. Namespace the keys with a period. For example, given the following dictionary: it should become: You… Read more »