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.5.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for cricsummary-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5cc3b030b79326c248f5a08d77f8c291c7103303666c09531ffaef2888d93a7 |
|
MD5 | efe2b6f5d3dac12049f3850c1d331774 |
|
BLAKE2b-256 | 43274253c16144cfe2be6c9749c7df32599883f5637caabc6d1b4129d28e393b |