Create summary table and charts from cricsheet data
Project description
cricsummary
cricsummary is built for performing cricket analysis on data provided by cricsheet.org.
- Convert yaml file to csv
- Creates Separate DataFrame for Team1 and Team2
- Vizualise or Perform your own transformations on the DataFrames
You can also:
- Save the converted file (yaml to csv)
- Plot Manhattan and Worm charts
- Export documents as HTML(in next release)
It was created for cricket lovers to get insights from the data in an easy manner.
This is a useful tool for performing quick cricket analysis.
Installation
cricsummary requires python 3.5+ to run.
$ pip install cricsummary
Development
Want to contribute? Great!
How to Use
>>> from cricsummary import Duranz
>>> match = Duranz('file.yaml')
>>> match.summary(team=1) # Summary table of team1, 2 for team2
>>> match.plot_worm() # Worm plot
>>> match.plot_manhattan(team=2) # manhattan of team2
Do your Analysis
- Access separate DataFrames of teams in Jupyter notebook and do your Operations/Analysis
df, df2 = match.team1_df, match.team2_df
License
MIT
Free Software, Hell Yeah!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cricsummary-0.0.2.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for cricsummary-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5626adcc1345e364665c6ff56e849617e8e2b617402d6f07d83daf6b05f1c571 |
|
MD5 | b86f0ccb0dfd159165526026fce970a7 |
|
BLAKE2b-256 | a54e67fce5291b6bc58374c168da081eae0e83d7aca7c5ef20f9c954fc84defb |