You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pd.concat nicely preserves name attributes when given a list of series. However, this only works if all series have the name attribute set, otherwise all names are lost:
In [1]: import pandas as pd
In [2]: pd.__version__
Out[2]: '0.16.2'
In [3]: foo = pd.Series([1,2], name='foo')
In [4]: bar = pd.Series([1,2])
In [6]: pd.concat([foo, bar], 1)
Out[6]:
0 1
0 1 1
1 2 2
Not sure this qualifies as a bug.
The text was updated successfully, but these errors were encountered:
pd.concat
nicely preserves name attributes when given a list of series. However, this only works if all series have the name attribute set, otherwise all names are lost:Not sure this qualifies as a bug.
The text was updated successfully, but these errors were encountered: