Skip to content

Fix: Correct factorial(5) output from 60 to 120 in decorators exercise #303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/encodings.xml

This file was deleted.

14 changes: 0 additions & 14 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/py.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

2 changes: 1 addition & 1 deletion Basics/Exercise/25_decorators/25_decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ example:

factorial(1.354) : raise Exception or print error message
factorial(-1) : raise Exception or print error message
factorial(5) : 60
factorial(5) : 120

```
[Solution](https://github.com/codebasics/py/blob/master/Basics/Exercise/25_decorators/25_decorators.py)
Binary file not shown.
188 changes: 94 additions & 94 deletions TechTopics/DataScienceRoadMap2020/data_science_roadmap_2020.md
Original file line number Diff line number Diff line change
@@ -1,94 +1,94 @@
## Learn data science step by step in 6 months
----------------------------------------------
Following is a schedule to learn data science step by step considering **4 hours** of dedicated, focused study every single day. This program is perfect for beginners with no knowledge of data science and programming.
### Week 1 and 2: Excel and Statistics
* Excel
- Google templates gallery for personal finance etc : https://docs.google.com/spreadsheets/u/0/?ftv=1
- Budget planner: https://www.vertex42.com/ExcelTemplates/budgets.html
- Chandoo's youtube channel: https://www.youtube.com/channel/UC8uU_wruBMHeeRma49dtZKA
- Chandoo's website: https://chandoo.org/
* Statistics
- Khan academy: https://www.khanacademy.org/math/statistics-probability
- Khan academy youtube: https://www.youtube.com/playlist?list=PL1328115D3D8A2566
- Statistics by Marin : https://www.youtube.com/playlist?list=PLqzoL9-eJTNBZDG8jaNuhap1C9q6VHyVa
- Statquest youtube channel: https://www.youtube.com/user/joshstarmer
### Week 3 and 4: Python
* Python
- My Python course that is 5X better than the free playlists: https://codebasics.io/courses/python-for-beginner-and-intermediate-learners
- Codebasics python tutorials (first 16) - https://www.youtube.com/playlist?list=PLeo1K3hjS3uv5U-Lmlnucd7gqF-3ehIh0
- Codebasics python HINDI tutorials (first 16)- https://www.youtube.com/playlist?list=PLPbgcxheSpE1DJKfdko58_AIZRIT0TjpO
- Make sure to work on exercises
* R
- Marin's lectures: https://www.youtube.com/playlist?list=PLqzoL9-eJTNBlVXxWvJkq0dtVut2sICUW
### Week 5, 6, 7, 8: Numpy, Pandas, Data Visualization Libraries
* NumPy and Pandas
- Codebasics Numpy playlist: https://www.youtube.com/playlist?list=PLeo1K3hjS3uset9zIVzJWqplaWBiacTEU
- Codebasics pandas playlist (first 9): https://www.youtube.com/playlist?list=PLeo1K3hjS3uuASpe-1LjfG5f14Bnozjwy
* Visualization library
- Matplotlib: codebasics matplotlib playlist: https://www.youtube.com/playlist?list=PLeo1K3hjS3uu4Lr8_kro2AqaO6CFYgKOl
- Seaborn: codebasics seaborn tutorials: https://www.youtube.com/playlist?list=PLJIOr9Je9wzHT-ptgfelpt2Nyx4VGX_j9
* Kaggle exploratory data analysis
- Notebooks: https://www.kaggle.com/notebooks
- Datasets: https://www.kaggle.com/datasets
### Week 9, 10, 11, 12: Machine Learning
* Machine learning
- codebasics ml playlist (first 16): https://www.youtube.com/playlist?list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw
- data science regression project: same playlist as above. Tutorial 18 to 25
- HINDI codebasics ml playlist (first 14): https://www.youtube.com/playlist?list=PLPbgcxheSpE0aBsefANDYe2X_-tyJbBMr
### Week 13, 14, 15, 16: Deep Learning
* Deep learning (artificial neural network, convolutional neural network, recurrent neural network)
- codebasics deep learning playlist: https://www.youtube.com/playlist?list=PLeo1K3hjS3uu7CxAacxVndI4bE_o3BDtO
### Week 17, 18, 19, 20: SQL & MongoDB
* SQL
- My SQL course for data professionals, if you do this you don't have to look at any other resources: https://codebasics.io/courses/sql-beginner-to-advanced-for-data-professionals
- kudavenkat playlist (first 16): https://www.youtube.com/playlist?list=PL08903FB7ACA1C2FB
- khanacademy SQL course: https://www.khanacademy.org/computing/computer-programming/sql
* MongoDB
- https://www.coursera.org/learn/introduction-mongodb
### Week 21, 22, 23, 24: BI tools
If you don't have a strong reason to choose between Power BI and Tableau, I would suggest choosing Power BI as it is increasing becoming popular. Microsoft is investing a lot in this tool and accordingly to Gartner's magic quadrant, Power BI is leading the data analytics market as of 2022.
* Power BI (project)
- My Power BI course that can make you job ready: https://codebasics.io/courses/power-bi-data-analysis-with-end-to-end-project
- codebasics sales insights project: https://www.youtube.com/playlist?list=PLeo1K3hjS3uva8pk1FI3iK9kCOKQdz1I9
- personal finance management project: https://www.youtube.com/watch?v=pqSoCa2NGj4
* Tableau
- Codebasics sales insights project: https://www.youtube.com/playlist?list=PLeo1K3hjS3usDI9XeUgjNZs6VnE0meBrL
- HINDI codebasics sales insights project: https://www.youtube.com/playlist?list=PLPbgcxheSpE2B7YFfOualUTlRhgnQR7Kn
- Abhishek Agarwal: https://www.youtube.com/playlist?list=PL6_D9USWkG1C4raCOTlTf_oq4XnNNNtm9
- Bharti consultancy: https://www.youtube.com/playlist?list=PLyD1XCIRA3gQmN73dHwQWr4R08ABZFMtZ
## Soft skills
---------------
* Learn anything effectively: https://www.youtube.com/watch?v=yZFrSDjRvjk
* Group learning
- Codebasics discord server: https://discord.gg/r42Kbuk
- Hold each other accountable
## Books and other resources
--------------------------------------
* Free book on statistics: http://greenteapress.com/thinkstats/thinkstats.pdf
* Another good book on statistics (not free) Naked Statistics - Charles Wheelan
## Learn data science step by step in 6 months
----------------------------------------------

Following is a schedule to learn data science step by step considering **4 hours** of dedicated, focused study every single day. This program is perfect for beginners with no knowledge of data science and programming.

### Week 1 and 2: Excel and Statistics

* Excel
- Google templates gallery for personal finance etc : https://docs.google.com/spreadsheets/u/0/?ftv=1
- Budget planner: https://www.vertex42.com/ExcelTemplates/budgets.html
- Chandoo's youtube channel: https://www.youtube.com/channel/UC8uU_wruBMHeeRma49dtZKA
- Chandoo's website: https://chandoo.org/

* Statistics
- Khan academy: https://www.khanacademy.org/math/statistics-probability
- Khan academy youtube: https://www.youtube.com/playlist?list=PL1328115D3D8A2566
- Statistics by Marin : https://www.youtube.com/playlist?list=PLqzoL9-eJTNBZDG8jaNuhap1C9q6VHyVa
- Statquest youtube channel: https://www.youtube.com/user/joshstarmer

### Week 3 and 4: Python

* Python
- My Python course that is 5X better than the free playlists: https://codebasics.io/courses/python-for-beginner-and-intermediate-learners
- Codebasics python tutorials (first 16) - https://www.youtube.com/playlist?list=PLeo1K3hjS3uv5U-Lmlnucd7gqF-3ehIh0
- Codebasics python HINDI tutorials (first 16)- https://www.youtube.com/playlist?list=PLPbgcxheSpE1DJKfdko58_AIZRIT0TjpO
- Make sure to work on exercises
* R
- Marin's lectures: https://www.youtube.com/playlist?list=PLqzoL9-eJTNBlVXxWvJkq0dtVut2sICUW

### Week 5, 6, 7, 8: Numpy, Pandas, Data Visualization Libraries

* NumPy and Pandas
- Codebasics Numpy playlist: https://www.youtube.com/playlist?list=PLeo1K3hjS3uset9zIVzJWqplaWBiacTEU
- Codebasics pandas playlist (first 9): https://www.youtube.com/playlist?list=PLeo1K3hjS3uuASpe-1LjfG5f14Bnozjwy

* Visualization library
- Matplotlib: codebasics matplotlib playlist: https://www.youtube.com/playlist?list=PLeo1K3hjS3uu4Lr8_kro2AqaO6CFYgKOl
- Seaborn: codebasics seaborn tutorials: https://www.youtube.com/playlist?list=PLJIOr9Je9wzHT-ptgfelpt2Nyx4VGX_j9

* Kaggle exploratory data analysis
- Notebooks: https://www.kaggle.com/notebooks
- Datasets: https://www.kaggle.com/datasets

### Week 9, 10, 11, 12: Machine Learning

* Machine learning
- codebasics ml playlist (first 16): https://www.youtube.com/playlist?list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw
- data science regression project: same playlist as above. Tutorial 18 to 25
- HINDI codebasics ml playlist (first 14): https://www.youtube.com/playlist?list=PLPbgcxheSpE0aBsefANDYe2X_-tyJbBMr

### Week 13, 14, 15, 16: Deep Learning

* Deep learning (artificial neural network, convolutional neural network, recurrent neural network)
- codebasics deep learning playlist: https://www.youtube.com/playlist?list=PLeo1K3hjS3uu7CxAacxVndI4bE_o3BDtO

### Week 17, 18, 19, 20: SQL & MongoDB

* SQL
- My SQL course for data professionals, if you do this you don't have to look at any other resources: https://codebasics.io/courses/sql-beginner-to-advanced-for-data-professionals
- kudavenkat playlist (first 16): https://www.youtube.com/playlist?list=PL08903FB7ACA1C2FB
- khanacademy SQL course: https://www.khanacademy.org/computing/computer-programming/sql

* MongoDB
- https://www.coursera.org/learn/introduction-mongodb

### Week 21, 22, 23, 24: BI tools

If you don't have a strong reason to choose between Power BI and Tableau, I would suggest choosing Power BI as it is increasing becoming popular. Microsoft is investing a lot in this tool and accordingly to Gartner's magic quadrant, Power BI is leading the data analytics market as of 2022.

* Power BI (project)
- My Power BI course that can make you job ready: https://codebasics.io/courses/power-bi-data-analysis-with-end-to-end-project
- codebasics sales insights project: https://www.youtube.com/playlist?list=PLeo1K3hjS3uva8pk1FI3iK9kCOKQdz1I9
- personal finance management project: https://www.youtube.com/watch?v=pqSoCa2NGj4

* Tableau
- Codebasics sales insights project: https://www.youtube.com/playlist?list=PLeo1K3hjS3usDI9XeUgjNZs6VnE0meBrL
- HINDI codebasics sales insights project: https://www.youtube.com/playlist?list=PLPbgcxheSpE2B7YFfOualUTlRhgnQR7Kn
- Abhishek Agarwal: https://www.youtube.com/playlist?list=PL6_D9USWkG1C4raCOTlTf_oq4XnNNNtm9
- Bharti consultancy: https://www.youtube.com/playlist?list=PLyD1XCIRA3gQmN73dHwQWr4R08ABZFMtZ


## Soft skills
---------------
* Learn anything effectively: https://www.youtube.com/watch?v=yZFrSDjRvjk

* Group learning
- Codebasics discord server: https://discord.gg/r42Kbuk
- Hold each other accountable

## Books and other resources
--------------------------------------
* Free book on statistics: http://greenteapress.com/thinkstats/thinkstats.pdf
* Another good book on statistics (not free) Naked Statistics - Charles Wheelan

14 changes: 7 additions & 7 deletions pandas/2_dataframe_basics/weather_data.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
day,temperature,windspeed,event
1/1/2017,32,6,Rain
1/2/2017,35,7,Sunny
1/3/2017,28,2,Snow
1/4/2017,24,7,Snow
1/5/2017,32,4,Rain
1/6/2017,31,2,Sunny
day,temperature,windspeed,event
1/1/2017,32,6,Rain
1/2/2017,35,7,Sunny
1/3/2017,28,2,Snow
1/4/2017,24,7,Snow
1/5/2017,32,4,Rain
1/6/2017,31,2,Sunny
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
day,temperature,windspeed,event
1/1/2017,32,6,Rain
1/2/2017,35,7,Sunny
1/3/2017,28,2,Snow
day,temperature,windspeed,event
1/1/2017,32,6,Rain
1/2/2017,35,7,Sunny
1/3/2017,28,2,Snow