Private
Public Access
1
0

age group records from C2 database web scraping

This commit is contained in:
Sander Roosendaal
2017-12-13 13:40:07 +01:00
parent 4b50d6694e
commit 098dbb9c4a
5 changed files with 80 additions and 42 deletions

View File

@@ -329,7 +329,7 @@ def getagegroup2k(age,sex='male',weightcategory='hwt'):
)
)
ages = df['agemin']
ages = df['age']
powers = df['power']
poly_coefficients = np.polyfit(ages,powers,6)