(valueList)
| 32 | return 0 |
| 33 | |
| 34 | def preprocessListValues(valueList): |
| 35 | valueList = [x.lower() for x in valueList if checkIfNullString(x) !=0] |
| 36 | valueList = [re.sub(r'[^\w]', ' ', string) for string in valueList] |
| 37 | valueList = [x.replace('nbsp','') for x in valueList ] #remove html whitespace |
| 38 | valueList = [" ".join(x.split()) for x in valueList] |
| 39 | valueList = [x for x in valueList if x != np.nan] |
| 40 | valueList = list(set(valueList)) |
| 41 | return valueList |
| 42 | |
| 43 | def cleanBracesContents(stringList): |
| 44 | output = [] |
no test coverage detected