I get this error whenever I try to use on a dataframe

Hi @akinolaa, and welcome to the Streamlit community! :balloon::raised_hands:

This error seems to indicate that Pandas cannot find what you’re looking for. Are you sure that warnings is in that dataframe? (check out possible spaces, as it would need to be an exact match to work :slight_smile:

More info on how to handle this issue here: KeyError Pandas - How To Fix - Data Independent

Hope that helps