pandas PSA: s.isnull() on series of 100k int64s: 235 µs, s.isnull() on series of 100k 'object's: 5.91 seconds. that's like ... six orders of magnitude slower. /cc @BagelDaughterpic.twitter.com/UftrfvSYSD
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
OK so now it makes sense - I think the bug is that the categorical code was trying to use a uint8 numpy array to index a pandas dataframe which was causing the weird typeerror. Doing a series.mask(numpyarray.astype('bool')) seems to workpic.twitter.com/XbCyaNOGZH
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.