A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/373 below:

DataFrame constructor when passed a Series · Issue #373 · pandas-dev/pandas · GitHub

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4