I have data which shows more activity at certain times, i.e
How could I detect that this activity is happening in real-time with python? Any suggestions?