Update PyAnalytics.py