Closed
Description
Code Sample, a copy-pastable example if possible
# Your code here
pd.DataFrame(data, index=sample_labels, columns=iris_features, name="iris")
Please let me know if this is out of scope. I think it could be a useful feature to have since pd.Index
, pd.Series
, xr.DataArrays
, and xr.Dataset
has them. I usually deal with dataframes from 2 different populations where I keep them organized by dictionaries. I know that I could still do df.name = "iris"
but I think an official name argument would benefit people too.
Metadata
Metadata
Assignees
Labels
No labels