Skip to content

Commit b7ae965

Browse files
committed
Merge remote-tracking branch 'origin' into open-lab-5
2 parents 50aea78 + 6ed653f commit b7ae965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Open_Lab_3_data_wrangling_with_pandas/filled_Open_Lab_3_data_wrangling_with_pandas.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@
574574
"source": [
575575
"### Replacing values in a column\n",
576576
"\n",
577-
"We can replace values in a column using by first accessing that column and using the Series method `replace()` (*remember accessing one column from a DataFrame returns a pandas Series*). The `replace()` method can accept a dictionary of items in which the dictionary keys are the values to be replaced and the dictionary values are the new values to be inserted.\n",
577+
"We can replace values in a column by first accessing the column and using the Series method `replace()` (*remember accessing one column from a DataFrame returns a pandas Series*). The `replace()` method can accept a dictionary of items in which the dictionary keys are the values to be replaced and the dictionary values are the new values to be inserted.\n",
578578
"\n",
579579
"We will demonstrate this method by replacing the values `Y` and `N` in the `Cataloged` column to the more explicit values `Yes` and `No`, respectively. Also, we will edit the DataFrame directly by including the keyword argument `inplace=True`."
580580
],

0 commit comments

Comments
 (0)