Post

Got NaNs when using Grouper on a #Python #Pandas data frame? groupby+Grouper chops up the datetime values, from the earliest to the latest, by the specified granularity. If even one datetime is super early/late, you'll get tons of NaNs. dropna is often helpful here.

0 reposts1 like

No replies yet.