(x)
| 133 | return x |
| 134 | |
| 135 | def convert_days_sentinel(x): |
| 136 | x = x.strip() |
| 137 | |
| 138 | if not x: |
| 139 | return np.nan |
| 140 | |
| 141 | is_plus = x.endswith("+") |
| 142 | |
| 143 | if is_plus: |
| 144 | x = int(x[:-1]) + 1 |
| 145 | else: |
| 146 | x = int(x) |
| 147 | |
| 148 | return x |
| 149 | |
| 150 | def convert_score(x): |
| 151 | x = x.strip() |