admin管理员组文章数量:1418922
I have a basic code that functions correctly, and I have included a visual representation of the data below. I specifically need the data highlighted in the red box. My objective is to extract only this marked data into a new DataFrame. As I am new to Streamlit, I would appreciate your guidance on the appropriate code to achieve this.
my code :
import streamlit as st
import pandas as pd
from st_aggrid import AgGrid
df = pd.DataFrame({'Name': ['A', 'B', 'C'], 'Age': [25, 24, 1]})
container = st.container()
return_df = AgGrid(data = df, data_return_mode = ‘FILTERED’)
dd = st.write(list(return_df.values()))
本文标签: pythonHow save list data save in dataframeStack Overflow
版权声明:本文标题:python - How save list data save in dataframe - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745300104a2652320.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论