@mohitlearns wrote:
Hello,
I am using the following technique to add a new Feature/ Field.
for temp_df in full_data_df:
temp_df[“Family”] = temp_df[“Sibsp”]+temp_df[“Parch”]+1full_data_df- exist already.
My questions:
why does Family feature/field gets added to full_data_df as well since I am only adding it to temp_df
how to check if a dataframe is a reference to the original object
in the for loop does dataframe (full_data_df) pass the data in temp_df one series at a time
thanks
Posts: 1
Participants: 1