I am building a web app in streamlit for a hackathon. The project is about CSV Data Cleaning. And i am getting this issue:
First I upload a CSV file to the app and then apply transformation like removing columns, handling NULL values etc. But every time I apply a transformation the CSV file got updated from the starting. Like of the function removing columns get original CSV file and then i apply handling NULL values then after running the app, the removing column function get the newly transformed CSV file not the original one.
I tried using session states but not sure how it’s working. I also asked ChatGPT but the issue is still not resolved.
The app has many such transformations and after applying each transformation, the previous transformation gets newly updated CSV file. This is distorting the entire flow of the code and not able to apply Data Cleaning transformations properly.
If anyone has the idea how to resolve the issue, then please help me. I can share the entire code if you know how to fix the issue.