(string)
| 56 | |
| 57 | #checks different types of nulls in string |
| 58 | def checkIfNullString(string): |
| 59 | nullList = ['nan','-','unknown','other (unknown)','null','na', "", " "] |
| 60 | if str(string).lower() not in nullList: |
| 61 | return 1 |
| 62 | else: |
| 63 | return 0 |
| 64 | |
| 65 | #remove hyphen and whitespaces from the table name |
| 66 | def cleanTableName(string): |
no outgoing calls
no test coverage detected