It's giving me a lot of syntax errors, no changes to your code so far (except file = open('baseStats.json') to file = open('C:/Users/Eric/Documents/Eric/Projects/baseStats.json') which made it not give me errors before), and I have TA.py+TeamAnalyzer.py+team1+baseStats.json in the same folder. Sorry if I'm making some really obvious mistake, I'm entirely new to this stuff.
For examples of the team analyzer, look at TeamAnalyzer.py or the web folder. For TeamAnalyzer.py, the syntax is: $python TeamAnalyzer.py filename where filename is a file containing a PO/PS plaintext export.
An idea for a statistic which would be interesting, pokemon gender distribution. At its simplest, a flat % male % female for <large metagame>, for a more in depth look perhaps look at different ratings? 1337 against non? I wonder if good players really do mix up their genders more.