I have the following snippet of code, which results in warnings after updating to pandas==1.4.3
:
df_phys = pd.DataFrame()
for db in self.db_list:
df_decoder = can_decoder.DataFrameDecoder(db)
df_phys_temp = pd.DataFrame()
for length, group in df_raw.groupby("DataLength"):
df_phys_group = df_decoder.decode_frame(group)
df_phys_temp = df_phys_temp.append(df_phys_group)
df_phys = df_phys.append(df_phys_temp.sort_index())
Can you clarify how I can transition to using concat
within a loop as above?