Python Forum

Full Version: Flask data with dynamic updates from panadas
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 Mournede
Need 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/2597...g-the-page