Skip to content

Commit 8220ead

Browse files
committed
Fix minor typos
1 parent 72d637b commit 8220ead

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

2_Fundamentals.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2470,7 +2470,7 @@
24702470
"source": [
24712471
"#### Methods\n",
24722472
"\n",
2473-
"Functions that are defined within a class are called it's methods. Methods may either only be called through a object or through the object and class (classmethod/staticmethod). Their first parameter is either a referene to the object, the class (classmethod), or neither (staticmethod). The reference to the object or class is passed automatically when the method is called; it does not have to be listed manually in the parameter list.\n",
2473+
"Functions that are defined within a class are called its methods. Methods may either only be called through a object or through the object and class (classmethod/staticmethod). Their first parameter is either a referene to the object, the class (classmethod), or neither (staticmethod). The reference to the object or class is passed automatically when the method is called; it does not have to be listed manually in the parameter list.\n",
24742474
"\n",
24752475
"Python Methods are virtual by default, i.e. methods of the same name of a base class are always overloaded (see [Vererbung](#Vererbung)). Therefore a method of a base class that calls another method defined in the same base class may end up calling a method of a derived class that overloads it (if called from a derived class)."
24762476
]

4_Pandas.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"year_1990 = {'Germany':70000000, 'France': 50000000, 'Netherlands': 12000000}\n",
116116
"year_2021 = {'Germany':83000000, 'France': 67000000, 'Netherlands': 17000000, 'Greece': 13000000}\n",
117117
"\n",
118-
"inhabitants_1990 = pd.Series(year1990) ##Konvertierung in Pandas-Series\n",
118+
"inhabitants_1990 = pd.Series(year_1990) ##Konvertierung in Pandas-Series\n",
119119
"inhabitants_2021 = pd.Series(year_2021)\n",
120120
"\n",
121121
"print(\"Inhabitants in 1990:\")\n",

0 commit comments

Comments
 (0)