a10 commited on
Commit
a524393
·
1 Parent(s): 8f8fccd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -19,7 +19,6 @@ def asubmit(aparam):
19
  aselectedrow = adf2[adf2["atitle"]==aparam["aselected"]]
20
  aselectedindex = adf2.index[adf2["atitle"]==aparam["aselected"]].tolist()
21
 
22
-
23
  adf3 = pd.DataFrame(
24
  [
25
  [
@@ -29,7 +28,7 @@ def asubmit(aparam):
29
  ],
30
  columns=['lat', 'lon']
31
  )
32
- aparam["acontainer"].dataframe(aselectedrow)
33
 
34
  return
35
 
@@ -83,4 +82,3 @@ aoption = acontainer1.selectbox(
83
  )
84
  if acontainer2.button("Submit") == True:
85
  asubmit(aparam={"aselected":aoption,"acontainer":acontainer3,"adataframe":adf,})
86
-
 
19
  aselectedrow = adf2[adf2["atitle"]==aparam["aselected"]]
20
  aselectedindex = adf2.index[adf2["atitle"]==aparam["aselected"]].tolist()
21
 
 
22
  adf3 = pd.DataFrame(
23
  [
24
  [
 
28
  ],
29
  columns=['lat', 'lon']
30
  )
31
+ aparam["acontainer"].map(adf3)
32
 
33
  return
34
 
 
82
  )
83
  if acontainer2.button("Submit") == True:
84
  asubmit(aparam={"aselected":aoption,"acontainer":acontainer3,"adataframe":adf,})