Coder Social home page Coder Social logo

python-ipl-analysis's Introduction

Dataproject :: python

IPL-ANALYSIS-Python

This repo consists of a source code of a python script to make specific anaylsis in IPL dataset using Datastructure.

IPL

How is it done?

You might be wondering on how graphs were plotted on raw dataset is done, well it aint that complicated as you may think.

We all all know that computer are good at numbers, so in order to plot graph we were designing a definite structure to the data in this case we used dictionaries , for plotting graph we used matplotlib .

This repo consist of a basic example on how to do that.

Getting started

To get started with the code on this repo, you need to either clone or download this repo into your machine just as shown below;

git clone [email protected]:mountblue/cohort-16-python/gopinath_v/dataproject-python.git

Dependencies

Before you begin playing with the source code you might need to install the following libaries just as shown below;

pip install matplotlib
sudo apt-get install python3-tk

Running the App

To run this code you need to have to download dictionaries, matches and umpires csv files and place these dataset in the same directory. If you want to install and setup virtualenv follow from step 1 or if you want to directly run it in editor follow from step2.

open the terminal

step1

Install the virtualenv package

pip install virtualenv

Create the virtual environment

To create a virtual environment, you must specify a path. You may provide any name in the place of :

virtualenv <mypython>

Activate the virtual environment

source mypython/bin/activate

step2

$-> cd dataproject-python
$ cd dataproject-python-> python3 total_runs.py

total_runs

$ cd dataproject-python-> python3 rcb_top_batsman.py

rcb_top_batsman

$ cd dataproject-python-> python3 foreign_umpire.py

foreign_umpire

$ cd dataproject-python-> python3 total_matches_by_team.py

total_matches_by_team

Deactivate the virtual environment

if you have followed step1 use this command to get out of virtualenv

deactivate

python-ipl-analysis's People

Contributors

mukund-kri avatar

Watchers

Gopinath V avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.