
Traceback (most recent call last):


 "C:\Users\wangxin\anaconda3\envs\vpred\lib\site-packages\colorama\ansitowin32.py", line 59, in closed

return stream.closed

ValueError: underlying buffer has been detached

Traceback (most recent call last):


 "bug.py", line 1, in <module>

x.where(y, level=0)


 "~/anaconda3/lib/python3.5/site-packages/pandas/core/generic.py", line 4813, in where

raise_on_error)


 "~/anaconda3/lib/python3.5/site-packages/pandas/core/generic.py", line 4557, in _where

cond, _ = cond.align(self, join='right', broadcast_axis=1)


 "~/anaconda3/lib/python3.5/site-packages/pandas/core/series.py", line 2350, in align

broadcast_axis=broadcast_axis)


 "~/anaconda3/lib/python3.5/site-packages/pandas/core/generic.py", line 4419, in align

fill_axis=fill_axis)


 "~/anaconda3/lib/python3.5/site-packages/pandas/core/generic.py", line 4488, in _align_series

return_indexers=True)


 "~/anaconda3/lib/python3.5/site-packages/pandas/indexes/base.py", line 2646, in join

return_indexers=return_indexers)


 "~/anaconda3/lib/python3.5/site-packages/pandas/indexes/base.py", line 2738, in _join_multi

raise ValueError("cannot join with no level specified and no "
ValueError: cannot join with no level specified and no overlapping names
