| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
Typically you don't need to do anything to get python. It should already, be installed on Ubuntu.
Just be sure, make sure you have python 3.7 or later installed on your system. Type in the following command in your shell ...
$ python3 --versionwhich should return something like
Python 3.8.2
Check your python installation
You should ...
Get familiar with virtualenv. It is really important.
Go through PEP-8 Style Guide
Python tutorial (official docs)
Go through the tutorial section of python's official documentation
I want you to do all the material up to and including chapter 9. Optionally if you have time, do the other chapters also.
If you are new to python, the following is a good starting point.
Python Tutorial (Do only the first 68 videos).
Note: for those who already know python skim through the videos and mark this lesson as done.
Note: There are many, good, resources for python available on the internet. Feel free to use those resources. When you confidant of all the concepts present in this series, mark this section as done.
General guildelines for everyone:
BATTING_TEAM_INDEX = 3 # In function match[BATTING_TEAM_INDEX]
Then submit your GitLab URL.
To convert raw open data (run by run records in this case) into charts that tell some kind of story.
The data for this exercise is sourced from https://www.kaggle.com/manasgarg/ipl/version/5.
NOTE you might have to find data sources on your own. For example the country of origin for the Umpires.
From the CSV and other source files specified above, write python code to ...
Plot a chart of the total runs scored by each teams over the history of IPL. Hint: use the total_runs field.
Consider only games played by Royal Challengers Bangalore. Now plot the total runs scored by top 10 batsman playing for Royal Challengers Bangalore over the history of IPL.
Plot only top 10 batsmen by runs scored in RCB.
Obtain a source for country of origin of umpires. Plot a chart of number of umpires by in IPL by country. Indian umpires should be ignored as this would dominate the graph.
Plot a stacked bar chart of ...
Plot a bar chart.
Plot a stacked bar chart.
Plot a bar chart.
Plot a bar chart.
Time Complexity Summary (30 minutes) on mycodeschool - 4 videos
Complexity for recursive programs (8 minutes) on mycodeschool
To convert raw open data into plots, that tell a story on the state of company registration in Maharashtra.
| Name | source |
|---|---|
| Company master data of Maharashtra | https://data.gov.in/catalog/company-master-data |
From the CSV and other source files specified above, write python code to ...
Plot a histogram on the "Authorized Capital" (column: AUTHORIZED_CAP) with the following intervals
Note:
From the column, DATE_OF_REGISTRATION parse out the registration year. Using this data, plot a bar plot of the number of company registrations, vs. year.
The district can be found by zip code. This resource has that data. Before you start on this problem please make a CSV of zip code vs. district.
In this exercise ...
Plot a Grouped Bar Plot by aggregating registration counts over ...
Plot only top 5 Prinicipal Business Activity for last 10 years
An example of a Grouped Bar Plot is here
To convert raw open data, country and year wise population estimates in this case, into charts that tell some kind of story.
The data for this exercise is sourced from https://datahub.io/core/population-growth-estimates-and-projections/r/population-estimates.csv
NOTE You have to construct data for countries in ASEAN and SAARC, references follow ...
ASEAN countries list https://en.wikipedia.org/wiki/ASEAN
SAARC countries list https://en.wikipedia.org/wiki/South_Asian_Association_for_Regional_Cooperation
From the CSV and other source files specified above, write python code to ...
Make a Bar Plot of 'population of India' vs. years.
ASEAN is a collection of South East Asian countries. Plot a Bar Chat of the population of these countries. Only use data for the year 2014
In this case for each year you have to calculate the sum of the population of all SAARC countries. Then plot a BAR CHART of Total SAARC population vs. year.
Grouped Bar Charts: https://matplotlib.org/3.1.1/gallery/lines_bars_and_markers/barchart.html
In grouped bar charts we can group together may related bar of a single value of the x-axis. You have to plot population of ASEAN countries as groups over the years 2004 - 2014.
Get comfortable with Pygame. Go through online tutorials and build one.
After that, discuss with your mentor and pick up a game.
Write your own code. Create your own objects, functions and constants. The goal is to try and not make it perfect.
Use the same mechanics:
Get familiar with Unit Testing by watching some videos on Youtube.
Rewrite the data project. Create your own smaller dataset - like 5 matches and 15 deliveries. Manually set the result for the unit tests.
Code python functions that will transform the raw csv data into a data structure in a format suitable for plotting with matplotlib.
Only execute functions will be tested. Not the plot one.
Use unittest framework and coverage.py
Generate the following plots ...
Points to Consider while coding:
Write a technical paper on the following concepts.
| Back | FazBrowse Home | New Git URL |