In particular, when I create a DataFrame by concatenating two Pandas Series objects, does Python create a new memory location and store copies of the series', or does it just create references to the two series?
If it just makes references, then would modifying the series like series.name = "new_name" affect the column names of the DataFrame?
Also, would getting a series from a DataFrame like series = df['column_name'] take O(1) time or O(n) time?
