From a0bf186ee64f6b13092fa6d67ce3bc8114f7979e Mon Sep 17 00:00:00 2001 From: Shelby Switzer Date: Thu, 4 Nov 2021 13:03:56 -0400 Subject: [PATCH] Add percentile column for L (#851) * Add percentile column for L * Use Definition instead of Score Co-authored-by: Shelby Switzer --- data/data-pipeline/data_pipeline/score/score_l.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/data-pipeline/data_pipeline/score/score_l.py b/data/data-pipeline/data_pipeline/score/score_l.py index 554fdbfa..831539c2 100644 --- a/data/data-pipeline/data_pipeline/score/score_l.py +++ b/data/data-pipeline/data_pipeline/score/score_l.py @@ -51,6 +51,10 @@ class ScoreL(Score): non_workforce_factors ].any(axis=1) + self.df["Definition L (percentile)"] = self.df[ + field_names.SCORE_L_COMMUNITIES + ].astype(int) + return self.df def _climate_factor(self) -> bool: