BUG: DataFrame from ndarray[SeriesObjects] vs PandasArray[SeriesObjects] inconsistent #43986
Closed
3 tasks done
Labels
Milestone
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the master branch of pandas.
Reproducible Example
Issue Description
We un-nest nested data when it is in a PandasArray but not when it is in a ndarray/Index/Series. Aligning this behavior would allow us to simplify the DataFrame constructor.
Only one test where we pass a PandasArray containing Series to DataFrame: test_apply_series_on_date_time_index_aware_series
Expected Behavior
ndarray vs PandasArray should not matter here.
Installed Versions
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered: