We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
In [1]: import pandas as pd In [2]: s = pd.Series(pd.SparseArray([0, 1], fill_value=0)) In [3]: pd.concat([s, s], axis=1, keys=['a', 'b']) Out[3]: a b 0 NaN NaN 1 1.0 1.0