We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I do:
a=Series([1,2,3],index=['a','b','c'],name='x') b=DataFrame(a)
I would expect b to have a single column 'x' with indices a,b,c; instead only a.values is retained.
The text was updated successfully, but these errors were encountered:
ENH: use series name as the column name if passed to DataFrame constr…
ff877b4
…uctor, GH #373
good point. added this in the above commit
Sorry, something went wrong.
I noticed that the series index is still ignored, and the resulting dataframe has a default index. Is this a specific design decision?
ENH: unstack/stack multiple levels per #370, use Series index per not…
d345967
…e in #373
Oops-- an oversight. fixed and tested in the above commit
Merge pull request pandas-dev#373 from manahl/fix/revert_363
13646ea
Revert "Merge pull request pandas-dev#363 from manahl/add-concat-flag"
No branches or pull requests
If I do:
a=Series([1,2,3],index=['a','b','c'],name='x')
b=DataFrame(a)
I would expect b to have a single column 'x' with indices a,b,c; instead only a.values is retained.
The text was updated successfully, but these errors were encountered: