python - How save list data save in dataframe - Stack Overflow

I have a basic code that functions correctly, and I have included a visual representation of the data b

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()))

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745300105a4621384.html

相关推荐

  • python - How save list data save in dataframe - Stack Overflow

    I have a basic code that functions correctly, and I have included a visual representation of the data b

    17小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信