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
concat
ignore_index
In [24]: dates = pd.date_range('01-Jan-2013', '01-Jan-2014', freq='MS')[0:-1] ...: s1 = pd.Series(randn(len(dates)), index=dates, name='value') ...: s2 = pd.Series(randn(len(dates)), index=dates, name='value') In [31]: df = pd.concat([s1, s2], axis=1, ignore_index=True) Traceback (most recent call last): File "<ipython-input-31-66b3acfe3258>", line 1, in <module> df = pd.concat([s1, s2], axis=1, ignore_index=True) File "c:\dev\code\pandas\pandas\tools\merge.py", line 895, in concat return op.get_result() File "c:\dev\code\pandas\pandas\tools\merge.py", line 972, in get_result data = dict(zip(self.new_axes[1], self.objs)) TypeError: zip argument #1 must support iteration
The text was updated successfully, but these errors were encountered:
250c8e0
wesm
No branches or pull requests
The text was updated successfully, but these errors were encountered: