(string)
| 25 | return (string) |
| 26 | |
| 27 | def checkIfNullString(string): |
| 28 | nullList = ['nan','-','unknown','other (unknown)','null','na', "", " "] |
| 29 | if str(string).lower() not in nullList: |
| 30 | return 1 |
| 31 | else: |
| 32 | return 0 |
| 33 | |
| 34 | def preprocessListValues(valueList): |
| 35 | valueList = [x.lower() for x in valueList if checkIfNullString(x) !=0] |
no outgoing calls
no test coverage detected