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
Copy file name to clipboardExpand all lines: projects/analyze-us-census-data-with-scipy/analyze-us-census-data-with-scipy.mdx
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,11 +186,7 @@ region = pd.DataFrame()
186
186
187
187
Now let's complete a simple pandas exercise. Sum the total number of people that relocated within the U.S. in both the control and variant groups at the state level.
188
188
189
-
<RoundedImage
190
-
link="https://i.imgur.com/8LlsAhS.png"
191
-
description="U.S. Census Data Analysis"
192
-
/>
193
-
189
+

194
190
195
191
```python
196
192
state["Relocated Within State"] = control.groupby("State")["Total Population"].sum()
0 commit comments