Python Forum
Flask data with dynamic updates from panadas
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flask data with dynamic updates from panadas
#1
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How can users store data temporarily in flask app? darktitan 6 2,859 Mar-21-2022, 06:38 PM
Last Post: darktitan
  Scraping a dynamic data-table in python through AJAX request filozofo 1 3,823 Aug-14-2020, 10:13 AM
Last Post: kashcode
  how to save the data from MySQL to CSV in Flask farah97 4 2,899 Jan-03-2020, 03:02 AM
Last Post: farah97
  Using flask to add data to sqlite3 table with PRIMARY KEY catafest 1 3,705 Sep-09-2019, 07:00 AM
Last Post: buran
  flask requests display data from api on webpage with javacript pascale 0 2,743 Oct-25-2018, 08:30 PM
Last Post: pascale
  Paginate json data in flask or jinja2 soli1994 1 8,249 Jun-28-2018, 06:00 PM
Last Post: gontajones
  How to perform predictions on a data in csv file using Flask? manjusavanth 0 4,492 May-23-2018, 09:03 AM
Last Post: manjusavanth
  Insert data to SQL through pymysql and flask iainstott 3 7,658 Oct-24-2017, 03:04 PM
Last Post: iainstott

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020