[英]How can I create NEW Listboxes with a Button and collect all the data with a final submit Button in TKinter?
[英]How can I collect data on the same date and create a new table
您可以通過以下方式獲取具有特定日期的數據:
df[df.Date == "01/22/2020 12:00:00"]
要將其作為一行添加到新數據集:
df_new = pd.DataFrame() # Create a new, empty, dataframe
df_new.append(df[df.Date == "01/22/2020 12:00:00"]) # Append the data with the specific date
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.