Perform Analysis, 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.6.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for cricsummary-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95d53ff950598cd3822d5f0d764cb3385fb30c0b4c42a475dc8042a5d655ccb8 |
|
MD5 | 2c7627b58a1326d55da953d7692bb127 |
|
BLAKE2b-256 | f284cb91d809eef1fb9707f8df4bf488dfd8a821aae3e91a2873a713acafd4bd |