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.4.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for cricsummary-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 847a3fd5a3a469fc10000759e06cbd4aca8af680cf4aaf4dbf0eb8058c8de6b8 |
|
MD5 | 4d148774aba0bc1c7ca8993e541cf424 |
|
BLAKE2b-256 | 1cd17bdda75c84398583e0694d8bdfaad897c3977c7ced2645a9d485b8526012 |