You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.
Using .round() in Manipulating Columns needs to be explained. If we don’t use it, we will not get to a full integer and then calling int() will truncate. Compare ((unemployment['year_month'] - unemployment['year']) * 100).astype(int) and ((unemployment['year_month'] - unemployment['year']) * 100).round(0).astype(int) - the first starts at 0, second starts at 1
The text was updated successfully, but these errors were encountered:
Using
.round()
in Manipulating Columns needs to be explained. If we don’t use it, we will not get to a full integer and then callingint()
will truncate. Compare((unemployment['year_month'] - unemployment['year']) * 100).astype(int)
and((unemployment['year_month'] - unemployment['year']) * 100).round(0).astype(int)
- the first starts at 0, second starts at 1The text was updated successfully, but these errors were encountered: