Add percentile column for L (#851)

* Add percentile column for L

* Use Definition instead of Score

Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
This commit is contained in:
Shelby Switzer 2021-11-04 13:03:56 -04:00 committed by GitHub
parent 8372b47d42
commit a0bf186ee6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,10 @@ class ScoreL(Score):
non_workforce_factors non_workforce_factors
].any(axis=1) ].any(axis=1)
self.df["Definition L (percentile)"] = self.df[
field_names.SCORE_L_COMMUNITIES
].astype(int)
return self.df return self.df
def _climate_factor(self) -> bool: def _climate_factor(self) -> bool: