1:42pm PDT - September 10th, 2021

Learned today that pandas’ stated policy to convert a series to strings is to use “astype("string")”, not “astype(str)” the way I’ve successfully done it this whole time. Made the conversion and it broke my script because this method replaces null values with “<NA>”. Why.

1 retweets   0 likes  - Nel (@Navertal)