Thanks so much for sharing the implementation you arrived at here! I tried using it today, and am having a little trouble understanding the format of df. Any chance you could either describe what format the df should be in, or share an example df?