Update SWQuality.py

add function from html to dataframe