3
I’m making a Data Quality that receives a list with data from a Database and I have two rules:
- Null fields: Fields that are filled with the word NULL
- White/empty fields: Fields that come blank or empty
For the rule of NULL
I’m using:
if (pd.isnull(lista[linha2][linha])):
print("Alguma coisa")
and recognizes the field as Nan.
How I do for blank or empty fields?
And the field type influences (eg str and float)?
"Data Quality" in my day was a beautiful way of speaking of a chuncho.
– Leonel Sanches da Silva
By the way, what are you using to bring back records from the database?
– Leonel Sanches da Silva
I don’t know the syntax of the Python language, but in PHP it would be something like:
if (lista[linha2][linha] == '')
– Carlos Andrade
I’m using the pyodbc library. I had tried it that way and it hadn’t worked, now it has.. Check it out, right! Thank you! Thank you!
– Sjokolade