![]() |
Flask data with dynamic updates from panadas - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html) +--- Thread: Flask data with dynamic updates from panadas (/thread-19231.html) |
Flask data with dynamic updates from panadas - parthi1705 - Jun-19-2019 Hi all, Having data in pandas as below dfCountry (pandas) Country ----->(header) Australia, Canada, France, Germany, United Kingdom, United States, dfcountrystate (pandas) -------------------------- CountryName, StateName----->(header) United States , Alabama United States, Arizona United States, California United States, Georgia Canada , Alberta United Kingdom, England France, Gers dfstatecity ------------------- StateeName, City----->(header) Alabama, Birmingham Alabama, Florence Alabama, Huntsville Alabama, Mobile England, Abingdon England, Watford England, West Sussex England, Wokingham Alberta, Edmonton Alberta, Calgary Gers, Aujan MournedeNeed to display values in html based on the selection of my data using Flask. found one link which has static data where class_entry_relations are not changing , but in my case it is different. If i select United States and it should display only states with in United States and respective states alone. How this can bee achieved here any suggestions or any reference would be helpful. https://stackoverflow.com/questions/25978879/how-to-create-chained-selectfield-in-flask-without-refreshing-the-page |