Hi, I am working on some code where I have a list of pa.Arrays and I am creating a pandas.DataFrame from it. I also want to set the index of the pd.DataFrame to be the first Array in the list.
Currently I am doing sth like: " df = pa.Table.from_arrays(arrs, names=input_names).to_pandas() df.set_index(input_names[0], inplace=True) " I am curious if this is the best I can do? Also I wonder if it is still worthwhile to use the "self_destruct=True" option here (I noticed it has been EXPERIMENTAL for a long time) Thanks! Li