diff --git a/.gitignore b/.gitignore
index 5b1b25794..e9c3c9a5d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,4 +17,5 @@ flask_project/ven/lib
numpy.ipynb
.ipynb_checkpoints
.vscode/
+*~
test.py
\ No newline at end of file
diff --git a/18_Day_Regular_expressions/18_regular_expressions.md b/18_Day_Regular_expressions/18_regular_expressions.md
index 4492c91b9..3330dfb31 100644
--- a/18_Day_Regular_expressions/18_regular_expressions.md
+++ b/18_Day_Regular_expressions/18_regular_expressions.md
@@ -68,7 +68,7 @@ To find a pattern we use different set of *re* character sets that allows to sea
#### Match
```py
-# syntac
+# syntax
re.match(substring, string, re.I)
# substring is a string or a pattern, string is the text we look for a pattern , re.I is case ignore
```
@@ -189,9 +189,9 @@ Let us add one more example. The following string is really hard to read unless
```py
-txt = '''%I a%m te%%a%%che%r% a%n%d %% I l%o%ve te%ach%ing.
+txt = '''%I a%m te%%a%%che%r% a%n%d %% I l%o%ve te%ach%ing.
T%he%re i%s n%o%th%ing as r%ewarding a%s e%duc%at%i%ng a%n%d e%m%p%ow%er%ing p%e%o%ple.
-I fo%und te%a%ching m%ore i%n%t%er%%es%ting t%h%an any other %jobs.
+I fo%und te%a%ching m%ore i%n%t%er%%es%ting t%h%an any other %jobs.
D%o%es thi%s m%ot%iv%a%te %y%o%u to b%e a t%e%a%cher?'''
matches = re.sub('%', '', txt)
@@ -200,7 +200,7 @@ print(matches)
```sh
I am teacher and I love teaching.
-There is nothing as rewarding as educating and empowering people.
+There is nothing as rewarding as educating and empowering people.
I found teaching more interesting than any other jobs. Does this motivate you to be a teacher?
```
@@ -221,7 +221,7 @@ print(re.split('\n', txt)) # splitting using \n - end of line symbol
## Writing RegEx Patterns
To declare a string variable we use a single or double quote. To declare RegEx variable *r''*.
-The following pattern only identifies apple with lowercase, to make it case insensitive either we should rewrite our pattern or we should add a flag.
+The following pattern only identifies apple with lowercase, to make it case insensitive either we should rewrite our pattern or we should add a flag.
```py
import re
@@ -322,7 +322,7 @@ txt = '''Apple and banana are fruits'''
matches = re.findall(regex_pattern, txt)
print(matches) # ['an', 'an', 'an', 'a ', 'ar']
-regex_pattern = r'[a].+' # . any character, + any character one or more times
+regex_pattern = r'[a].+' # . any character, + any character one or more times
matches = re.findall(regex_pattern, txt)
print(matches) # ['and banana are fruits']
```
@@ -332,7 +332,7 @@ print(matches) # ['and banana are fruits']
Zero or many times. The pattern could may not occur or it can occur many times.
```py
-regex_pattern = r'[a].*' # . any character, * any character zero or more times
+regex_pattern = r'[a].*' # . any character, * any character zero or more times
txt = '''Apple and banana are fruits'''
matches = re.findall(regex_pattern, txt)
print(matches) # ['and banana are fruits']
@@ -369,7 +369,7 @@ print(matches) # ['6', '2019', '8', '2021']
### Cart ^
- Starts with
-
+
```py
txt = 'This regular expression example was made on December 6, 2019 and revised on July 8, 2021'
regex_pattern = r'^This' # ^ means starts with
diff --git a/24_Day_Statistics/24_statistics.md b/24_Day_Statistics/24_statistics.md
index cd3c62788..76a4251e4 100644
--- a/24_Day_Statistics/24_statistics.md
+++ b/24_Day_Statistics/24_statistics.md
@@ -930,7 +930,7 @@ Numpy is equipped with the robust statistical function as listed below
- Max np.max()
- Mean np.mean()
- Median np.median()
- - Varience
+ - Variance
- Percentile
- Standard deviation np.std()
@@ -1203,7 +1203,7 @@ plt.show()

-To draw the Gaussian normal distribution using numpy. As you can see below, the numpy can generate random numbers. To create random sample, we need the mean(mu), sigma(standard deviation), mumber of data points.
+To draw the Gaussian normal distribution using numpy. As you can see below, the numpy can generate random numbers. To create random sample, we need the mean(mu), sigma(standard deviation), number of data points.
```python
mu = 28
diff --git a/25_Day_Pandas/25_pandas.md b/25_Day_Pandas/25_pandas.md
index 4f1c8216c..4e4d8bc74 100644
--- a/25_Day_Pandas/25_pandas.md
+++ b/25_Day_Pandas/25_pandas.md
@@ -37,18 +37,18 @@
- [Creating a DataFrame](#creating-a-dataframe)
- [Adding a New Column](#adding-a-new-column)
- [Modifying column values](#modifying-column-values)
- - [Formating DataFrame columns](#formating-dataframe-columns)
+ - [Formatting DataFrame columns](#formatting-dataframe-columns)
- [Checking data types of Column values](#checking-data-types-of-column-values)
- [Boolean Indexing](#boolean-indexing)
- [Exercises: Day 25](#exercises-day-25)
-
+
# ๐ Day 25
## Pandas
Pandas is an open source, high-performance, easy-to-use data structures and data analysis tools for the Python programming language.
Pandas adds data structures and tools designed to work with table-like data which is *Series* and *Data Frames*.
-Pandas provides tools for data manipulation:
+Pandas provides tools for data manipulation:
- reshaping
- merging
@@ -72,18 +72,18 @@ pip install conda
pip install pandas
```
-Pandas data structure is based on *Series* and *DataFrames*.
+Pandas data structure is based on *Series* and *DataFrames*.
A *series* is a *column* and a DataFrame is a *multidimensional table* made up of collection of *series*. In order to create a pandas series we should use numpy to create a one dimensional arrays or a python list.
Let us see an example of a series:
Names Pandas Series
-
+
Countries Series
-
+
Cities Series
@@ -216,7 +216,7 @@ Pandas data frames can be created in different ways.
```python
data = [
- ['Asabeneh', 'Finland', 'Helsink'],
+ ['Asabeneh', 'Finland', 'Helsink'],
['David', 'UK', 'London'],
['John', 'Sweden', 'Stockholm']
]
@@ -455,7 +455,7 @@ print(df.tail()) # tails give the last five rows, we can increase the rows by pa
-As you can see the csv file has three rows: Gender, Height and Weight. If the DataFrame would have a long rows, it would be hard to know all the columns. Therefore, we should use a method to know the colums. we do not know the number of rows. Let's use shape meathod.
+As you can see the csv file has three rows: Gender, Height and Weight. If the DataFrame would have a long rows, it would be hard to know all the columns. Therefore, we should use a method to know the columns. we do not know the number of rows. Let's use shape method.
```python
print(df.shape) # as you can see 10000 rows and three columns
@@ -487,7 +487,7 @@ print(heights)
2 74.110105
3 71.730978
4 69.881796
- ...
+ ...
9995 66.172652
9996 67.067155
9997 63.867992
@@ -510,7 +510,7 @@ print(weights)
2 212.740856
3 220.042470
4 206.349801
- ...
+ ...
9995 136.777454
9996 170.867906
9997 128.475319
@@ -528,7 +528,7 @@ print(len(heights) == len(weights))
The describe() method provides a descriptive statistical values of a dataset.
```python
-print(heights.describe()) # give statisical information about height data
+print(heights.describe()) # give statistical information about height data
```
```sh
@@ -621,9 +621,9 @@ Similar to describe(), the info() method also give information about the dataset
Modifying a DataFrame:
* We can create a new DataFrame
- * We can create a new column and add it to the DataFrame,
- * we can remove an existing column from a DataFrame,
- * we can modify an existing column in a DataFrame,
+ * We can create a new column and add it to the DataFrame,
+ * we can remove an existing column from a DataFrame,
+ * we can modify an existing column in a DataFrame,
* we can change the data type of column values in the DataFrame
### Creating a DataFrame
@@ -828,7 +828,7 @@ def calculate_bmi ():
b = w/(h*h)
bmi.append(b)
return bmi
-
+
bmi = calculate_bmi()
```
@@ -882,7 +882,7 @@ df
-### Formating DataFrame columns
+### Formatting DataFrame columns
The BMI column values of the DataFrame are float with many significant digits after decimal. Let's change it to one significant digit after point.
@@ -1102,7 +1102,7 @@ print(df)
-The person in the first row lived so far for 251 years. It is unlikely for someone to live so long. Either it is a typo or the data is cooked. So lets fill that data with average of the columns without including outlier.
+The person in the first row lived so far for 251 years. It is unlikely for someone to live so long. Either it is a typo or the data is cooked. So lets fill that data with average of the columns without including outlier.
mean = (35 + 30)/ 2
@@ -1202,7 +1202,7 @@ print(df[df['Ages'] < 120])
## Exercises: Day 25
-1. Read the hacker_news.csv file from data directory
+1. Read the hacker_news.csv file from data directory
1. Get the first five rows
1. Get the last five rows
1. Get the title column as pandas series
diff --git a/29_Day_Building_API/29_building_API.md b/29_Day_Building_API/29_building_API.md
index 472b2c40d..494e292c8 100644
--- a/29_Day_Building_API/29_building_API.md
+++ b/29_Day_Building_API/29_building_API.md
@@ -194,7 +194,7 @@ By connecting the flask, we can fetch students collection data from the thirty_d
### Getting a document by id
-We can access signle document using an id, let's access Asabeneh using his id.
+We can access single document using an id, let's access Asabeneh using his id.
http://localhost:5000/api/v1.0/students/5df68a21f106fe2d315bbc8b
```py
diff --git a/30_Day_Conclusions/30_conclusions.md b/30_Day_Conclusions/30_conclusions.md
index 3bbb084d0..1a3b0e39f 100644
--- a/30_Day_Conclusions/30_conclusions.md
+++ b/30_Day_Conclusions/30_conclusions.md
@@ -8,7 +8,7 @@
-
+
Author:
Asabeneh Yetayeh
Second Edition: July, 2021
@@ -31,7 +31,7 @@
In the process of preparing this material I have learned quite a lot and you have inspired me to do more. Congratulations for making it to this level. If you have done all the exercise and the projects, now you are capable to go to a data analysis, data science, machine learning or web development paths. [Support the author for more educational materials](https://www.paypal.com/paypalme/asabeneh).
## Testimony
-Now it is time to express your thoughts about the Author and 30DaysOfPyhton. You can leave your testimonial on this [link](https://www.asabeneh.com/testimonials)
+Now it is time to express your thoughts about the Author and 30DaysOfPython. You can leave your testimonial on this [link](https://www.asabeneh.com/testimonials)
GIVE FEEDBACK:
http://thirtydayofpython-api.herokuapp.com/feedback
diff --git a/Korean/readme_ko.md b/Korean/readme_ko.md
index bc6286096..d6160ec27 100644
--- a/Korean/readme_ko.md
+++ b/Korean/readme_ko.md
@@ -1,4 +1,4 @@
-# ๐ 30 Days Of Python
+# ๐ 30 Days Of Python
|# Day | Topics |
|------|:---------------------------------------------------------:|
@@ -15,11 +15,11 @@
| 11 | [Functions](../11_Day_Functions/11_functions.md)|
| 12 | [Modules](../12_Day_Modules/12_modules.md)|
| 13 | [List Comprehension](../13_Day_List_comprehension/13_list_comprehension.md)|
-| 14 | [Higher Order Functions](../14_Day_Higher_order_functions/14_higher_order_functions.md)|
-| 15 | [Python Type Errors](../15_Day_Python_type_errors/15_python_type_errors.md)|
-| 16 | [Python Date time](../16_Day_Python_date_time/16_python_datetime.md) |
-| 17 | [Exception Handling](../17_Day_Exception_handling/17_exception_handling.md)|
-| 18 | [Regular Expressions](../18_Day_Regular_expressions/18_regular_expressions.md)|
+| 14 | [Higher Order Functions](../14_Day_Higher_order_functions/14_higher_order_functions.md)|
+| 15 | [Python Type Errors](../15_Day_Python_type_errors/15_python_type_errors.md)|
+| 16 | [Python Date time](../16_Day_Python_date_time/16_python_datetime.md) |
+| 17 | [Exception Handling](../17_Day_Exception_handling/17_exception_handling.md)|
+| 18 | [Regular Expressions](../18_Day_Regular_expressions/18_regular_expressions.md)|
| 19 | [File Handling](../19_Day_File_handling/19_file_handling.md)|
| 20 | [Python Package Manager](../20_Day_Python_package_manager/20_python_package_manager.md)|
| 21 | [Classes and Objects](../21_Day_Classes_and_objects/21_classes_and_objects.md)|
@@ -36,7 +36,7 @@
๐งก๐งก๐งก HAPPY CODING ๐งก๐งก๐งก
-
Support the author to create more educational materials
+
Support the author to create more educational materials
@@ -95,7 +95,7 @@
_30 days of Python_์ ์ฐธ์ฌํ๊ธฐ๋ก ๊ฒฐ์ ํ์ ๊ฒ์ **์ถํ๋๋ฆฝ๋๋ค**. ์ด ์ฑ๋ฆฐ์ง์์๋ Python ํ๋ก๊ทธ๋๋จธ๊ฐ ๋๊ธฐ ์ํด ํ์ํ ๋ชจ๋ ๊ฒ๊ณผ ํ๋ก๊ทธ๋๋ฐ์ ์ ์ฒด ๊ฐ๋
์ ๋ฐฐ์ฐ๊ฒ ๋ฉ๋๋ค. ์ฑ๋ฆฐ์ง๊ฐ ๋๋๋ฉด _30DaysOfPython_ํ๋ก๊ทธ๋๋ฐ ์ฑ๋ฆฐ์ง ์ธ์ฆ์๋ฅผ ๋ฐ๊ฒ ๋ฉ๋๋ค.
-์ฑ๋ฆฐ์ง์ ์ ๊ทน์ ์ผ๋ก ์ฐธ์ฌํ๊ณ ์ถ๋ค๋ฉด [30DaysOfPython challenge](https://t.me/ThirtyDaysOfPython) ํ
๋ ๊ทธ๋จ ๊ทธ๋ฃน์ ๊ฐ์
ํ ์ ์์ต๋๋ค.
+์ฑ๋ฆฐ์ง์ ์ ๊ทน์ ์ผ๋ก ์ฐธ์ฌํ๊ณ ์ถ๋ค๋ฉด [30DaysOfPython challenge](https://t.me/ThirtyDaysOfPython) ํ
๋ ๊ทธ๋จ ๊ทธ๋ฃน์ ๊ฐ์
ํ ์ ์์ต๋๋ค.
## ์๊ฐ
@@ -334,8 +334,8 @@ Python ์ฌ์ ๊ฐ์ฒด๋ ํค ๊ฐ ์ ํ์์ ์ ๋ ฌ๋์ง ์์ ๋ฐ์ดํฐ ๋ชจ
{
'first_name':'Asabeneh',
'last_name':'Yetayeh',
-'country':'Finland',
-'age':250,
+'country':'Finland',
+'age':250,
'is_married':True,
'skills':['JS', 'React', 'Node', 'Python']
}
@@ -447,8 +447,8 @@ Python ํ์ผ์ ์คํํ๋ ค๋ฉด ์๋ ์ด๋ฏธ์ง๋ฅผ ํ์ธํ์ธ์. Visual Stu
### Exercise: Level 3
1. Number(Integer, Float, Complex), String, Boolean, List, Tuple, Set ๋ฐ Dictionary์ ๊ฐ์ ๋ค์ํ Python ๋ฐ์ดํฐ ์ ํ์ ๋ํ ์์ ๋ฅผ ์์ฑํฉ๋๋ค.
-2. ์ฐธ๊ณ [Euclidian distance](https://en.wikipedia.org/wiki/Euclidean_distance#:~:text=In%20mathematics%2C%20the%20Euclidean%20distance,being%20called%20the%20Pythagorean%20distance.) (2, 3) ๊ณผ (10, 8) ์ฌ์ด
+2. ์ฐธ๊ณ [Euclidean distance](https://en.wikipedia.org/wiki/Euclidean_distance#:~:text=In%20mathematics%2C%20the%20Euclidean%20distance,being%20called%20the%20Pythagorean%20distance.) (2, 3) ๊ณผ (10, 8) ์ฌ์ด
๐ ์ถํํฉ๋๋ค ! ๐
-[Day 2 >>](../02_Day_Variables_builtin_functions/02_variables_builtin_functions.md)
\ No newline at end of file
+[Day 2 >>](../02_Day_Variables_builtin_functions/02_variables_builtin_functions.md)
diff --git a/numpy.md b/numpy.md
index 97298e678..857f40f36 100644
--- a/numpy.md
+++ b/numpy.md
@@ -256,7 +256,7 @@ print('The size:', two_dimensional_list.size) # 3
## Mathematical Operation using numpy
-Numpy array is not like exactly like python list. To do mathematical operation in pyhton list we have to loop through the items but numpy can allow to do any mathematical operation without looping.
+Numpy array is not like exactly like python list. To do mathematical operation in python list we have to loop through the items but numpy can allow to do any mathematical operation without looping.
Mathematical Operation:
- Addition (+)
diff --git a/old_files/readme19-21.md b/old_files/readme19-21.md
index d9a0f350a..72c910832 100644
--- a/old_files/readme19-21.md
+++ b/old_files/readme19-21.md
@@ -1,15 +1,15 @@

-๐งณ [Part 1: Day 1 - 3](https://github.com/Asabeneh/30-Days-Of-Python)
-๐งณ [Part 2: Day 4 - 6](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme4-6.md)
-๐งณ [Part 3: Day 7 - 9](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme7-9.md)
-๐งณ [Part 4: Day 10 - 12](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme10-12.md)
-๐งณ [Part 5: Day 13 - 15](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme13-15.md)
-๐งณ [Part 6: Day 16 - 18](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme16-18.md)
-๐งณ [Part 7: Day 19 - 21](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme19-21.md)
-๐งณ [Part 8: Day 22 - 24](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme22-24.md)
-๐งณ [Part 9: Day 25 - 27](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme25-27.md)
-๐งณ [Part 10: Day 28 - 30](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme28-30.md)
+๐งณ [Part 1: Day 1 - 3](https://github.com/Asabeneh/30-Days-Of-Python)
+๐งณ [Part 2: Day 4 - 6](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme4-6.md)
+๐งณ [Part 3: Day 7 - 9](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme7-9.md)
+๐งณ [Part 4: Day 10 - 12](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme10-12.md)
+๐งณ [Part 5: Day 13 - 15](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme13-15.md)
+๐งณ [Part 6: Day 16 - 18](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme16-18.md)
+๐งณ [Part 7: Day 19 - 21](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme19-21.md)
+๐งณ [Part 8: Day 22 - 24](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme22-24.md)
+๐งณ [Part 9: Day 25 - 27](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme25-27.md)
+๐งณ [Part 10: Day 28 - 30](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme28-30.md)
---
@@ -856,7 +856,7 @@ The folder structure of your package should look like this:
Now let's open the python interactive shell and try the package we have created:
```sh
asabeneh@Asabeneh:~/Desktop/30DaysOfPython$ python
-Python 3.7.5 (default, Nov 1 2019, 02:16:32)
+Python 3.7.5 (default, Nov 1 2019, 02:16:32)
[Clang 11.0.0 (clang-1100.0.33.8)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from mypackage import arithmetics
@@ -875,10 +875,10 @@ Type "help", "copyright", "credits" or "license" for more information.
>>> from mypackage import greet
>>> greet.greet_person('Asabeneh', 'Yetayeh')
'Asabeneh Yetayeh, welcome to 30DaysOfPython Challenge!'
->>>
+>>>
```
As you can see our package works perfect. The package folder contains a special file called __init__.py which stores the package's content. If we put __init__.py in the package folder, python start recognizes it as a package.
-The __init__.py exposes specified resources from its modules to be imported to other python files. An empty __init__.py file makes all functions available when a package is imported. The __init__.py is essential for the folder to be recognized by Python as a package.
+The __init__.py exposes specified resources from its modules to be imported to other python files. An empty __init__.py file makes all functions available when a package is imported. The __init__.py is essential for the folder to be recognized by Python as a package.
### Further information about packages
@@ -930,8 +930,6 @@ Let's check if everything in python is class:
```py
Last login: Tue Dec 10 09:35:28 on console
-asabeneh@Asabeneh:~$ pyhton
--bash: pyhton: command not found
asabeneh@Asabeneh:~$ python
Python 3.7.5 (default, Nov 1 2019, 02:16:32)
[Clang 11.0.0 (clang-1100.0.33.8)] on darwin
@@ -1167,7 +1165,7 @@ Lidiya Teklemariam is 28 year old. He lives in Espoo, Finland.
['Organizing', 'Marketing', 'Digital Marketing']
```
-We didn't call the _**init**()_ constructor in the child class. If we didn't call it we can access all the properties but if we call it once we access the parent properties by calling _super_.
+We didn't call the _**init**()_ constructor in the child class. If we didn't call it we can access all the properties but if we call it once we access the parent properties by calling _super_.
We can write add a new method to the child or we can overwrite the parent class by creating the same method name in the child class. When we add the **init**() function, the child class will no longer inherit the parent's **init**() function.
### Overriding parent method
@@ -1242,7 +1240,7 @@ Standard Deviation: 4.2
Frequency Distribution: [(20.0, 26), (16.0, 27), (12.0, 32), (8.0, 37), (8.0, 34), (8.0, 33), (8.0, 31), (8.0, 24), (4.0, 38), (4.0, 29), (4.0, 25)]
```
1. Create a class called PersonAccount. It has firstname, lastname, incomes, expenses properties and it has total_income, total_expense, account_info,add_income, add_expense and account_balance methods. Incomes is a set of incomes and its description and the same goes for expenses.
-
+
[<< Part 6 ](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme16-18.md) | [Part 8 >>](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme22-24.md)
----
\ No newline at end of file
+---
diff --git a/old_files/readme25-27.md b/old_files/readme25-27.md
index 2570dd989..d1b9583b9 100644
--- a/old_files/readme25-27.md
+++ b/old_files/readme25-27.md
@@ -1,15 +1,15 @@

-๐งณ [Part 1: Day 1 - 3](https://github.com/Asabeneh/30-Days-Of-Python)
-๐งณ [Part 2: Day 4 - 6](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme4-6.md)
-๐งณ [Part 3: Day 7 - 9](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme7-9.md)
-๐งณ [Part 4: Day 10 - 12](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme10-12.md)
-๐งณ [Part 5: Day 13 - 15](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme13-15.md)
-๐งณ [Part 6: Day 16 - 18](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme16-18.md)
-๐งณ [Part 7: Day 19 - 21](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme19-21.md)
-๐งณ [Part 8: Day 22 - 24](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme22-24.md)
-๐งณ [Part 9: Day 25 - 27](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme25-27.md)
-๐งณ [Part 10: Day 28 - 30](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme28-30.md)
+๐งณ [Part 1: Day 1 - 3](https://github.com/Asabeneh/30-Days-Of-Python)
+๐งณ [Part 2: Day 4 - 6](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme4-6.md)
+๐งณ [Part 3: Day 7 - 9](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme7-9.md)
+๐งณ [Part 4: Day 10 - 12](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme10-12.md)
+๐งณ [Part 5: Day 13 - 15](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme13-15.md)
+๐งณ [Part 6: Day 16 - 18](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme16-18.md)
+๐งณ [Part 7: Day 19 - 21](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme19-21.md)
+๐งณ [Part 8: Day 22 - 24](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme22-24.md)
+๐งณ [Part 9: Day 25 - 27](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme25-27.md)
+๐งณ [Part 10: Day 28 - 30](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme28-30.md)
- [๐ Day 25](#%f0%9f%93%98-day-25)
- [Pandas](#pandas)
@@ -83,11 +83,11 @@ Let's see an example of a series:
Names pandas Series
-
+
Countries Series
-
+
Cities Series
@@ -249,7 +249,7 @@ Pandas data frames can be created in different ways.
```python
data = [
- ['Asabeneh', 'Finland', 'Helsink'],
+ ['Asabeneh', 'Finland', 'Helsink'],
['David', 'UK', 'London'],
['John', 'Sweden', 'Stockholm']
]
@@ -638,7 +638,7 @@ heights
2 74.110105
3 71.730978
4 69.881796
- ...
+ ...
9995 66.172652
9996 67.067155
9997 63.867992
@@ -666,7 +666,7 @@ weights
2 212.740856
3 220.042470
4 206.349801
- ...
+ ...
9995 136.777454
9996 170.867906
9997 128.475319
@@ -690,7 +690,7 @@ len(heights) == len(weights)
```python
-heights.describe() # give statisical information about height data
+heights.describe() # give statistical information about height data
```
@@ -811,9 +811,9 @@ df.describe() # describe can also give statistical information from a datafrom
Modifying a DataFrame
* We can create a new DataFrame
- * We can create a new column and add to DataFrame,
- * we can remove an existing column from DataFrame,
- * we can modify an existing column from DataFrame,
+ * We can create a new column and add to DataFrame,
+ * we can remove an existing column from DataFrame,
+ * we can modify an existing column from DataFrame,
* we can change the data type of column values from DataFrame
### Create a DataFrame
@@ -1102,7 +1102,7 @@ def calculate_bmi ():
b = w/(h*h)
bmi.append(b)
return bmi
-
+
bmi = calculate_bmi()
```
@@ -1483,7 +1483,7 @@ df
-The person in the first row lives 250 years. It is unlikely for someone to live 250 years. Either it is a typo or the data is cooked. So lets fill that data with average of the columns without including outlier.
+The person in the first row lives 250 years. It is unlikely for someone to live 250 years. Either it is a typo or the data is cooked. So lets fill that data with average of the columns without including outlier.
mean = (34 + 29)/ 2
@@ -1629,12 +1629,12 @@ df[df['Ages'] < 120]
```python
df['Ages'] = df[df['Ages'] > 120]
-
-
+
+
```
## Exercises: Day 25
-1. Read the hacker_ness.csv file from data directory
+1. Read the hacker_ness.csv file from data directory
1. Get the first five rows
1. Get the last five rows
1. Get the title column as pandas series
@@ -2194,7 +2194,7 @@ Select the free plan

-Choose the proximate free region and give any name for you cluster.
+Choose the proximate free region and give any name for you cluster.

@@ -2768,4 +2768,3 @@ Now, we have deleted the students collection from the database.
[<< Part 8 ](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme22-24.md) | [Part 10 >>](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme28-30.md)
---
-
diff --git a/readme.md b/readme.md
index 76adb400b..af844ff55 100644
--- a/readme.md
+++ b/readme.md
@@ -163,7 +163,7 @@ Every contribution, big or small, makes a huge difference. Thank you for your su
**Congratulations** for deciding to participate in a _30 days of Python_ programming challenge. In this challenge, you will learn everything you need to be a python programmer and the whole concept of programming. At the end of the challenge, you will get a _30DaysOfPython_ programming challenge certificate.
-If you would like to actively engage in the challenge, you may join the [30DaysOfPython challenge](https://t.me/ThirtyDaysOfPython) telegram group.
+If you would like to actively engage in the challenge, you may join the [30DaysOfPython challenge](https://t.me/ThirtyDaysOfPython) telegram group.
## Introduction
@@ -405,8 +405,8 @@ A Python dictionary object is an unordered collection of data in a key value pai
{
'first_name':'Asabeneh',
'last_name':'Yetayeh',
-'country':'Finland',
-'age':250,
+'country':'Finland',
+'age':250,
'is_married':True,
'skills':['JS', 'React', 'Node', 'Python']
}
@@ -518,7 +518,7 @@ To run the python file check the image below. You can run the python file either
### Exercise: Level 3
1. Write an example for different Python data types such as Number(Integer, Float, Complex), String, Boolean, List, Tuple, Set and Dictionary.
-2. Find an [Euclidian distance](https://en.wikipedia.org/wiki/Euclidean_distance#:~:text=In%20mathematics%2C%20the%20Euclidean%20distance,being%20called%20the%20Pythagorean%20distance.) between (2, 3) and (10, 8)
+2. Find an [Euclidean distance](https://en.wikipedia.org/wiki/Euclidean_distance#:~:text=In%20mathematics%2C%20the%20Euclidean%20distance,being%20called%20the%20Pythagorean%20distance.) between (2, 3) and (10, 8)
๐ CONGRATULATIONS ! ๐