Skip to content
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
2 changes: 1 addition & 1 deletion s1n02-accessing-a-series.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"And to use the positional index explicitly, you can use the property `iloc`."
"And to use the positional index explicitly, you can use the property `iloc`.The difference in loc and iloc is loc gets rows (or columns) with particular labels from the index wherea iloc gets rows (or columns) at particular positions in the index."
]
},
{
Expand Down
5 changes: 4 additions & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ def make_chaos(df, sample_size, columns, fn):
for col in columns:
some[col] = some[col].apply(fn)
# Update the original DataFrame
df.update(some)
df.update(some)


#13233