Add .ffill() and .fillna() because there are missing values in the height column

pull/723/head
Amber Wang 8 months ago
parent e7edf32e33
commit 6a62dfd7b4

@ -487,7 +487,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"np.corrcoef(df['Height'],df['Weight'])" "np.corrcoef(df['Height'].ffill(),df['Weight'])"
] ]
}, },
{ {

Loading…
Cancel
Save