Reputation: 825
My problem can be seen on this image:
So the problem is, that Spyder break the line and my output can't be display in "one" line. How can I change this?
Upvotes: 2
Views: 2419
Reputation: 709
This solves your question:
pd.set_option('display.width', 170)
You can try different numbers from 170, until you are satisfied with the outupt you want in your Spyder console.
Upvotes: 1
Reputation: 34156
(Spyder dev here) Spyder doesn't break lines in its Python or IPython consoles.
You don't say explicitly, but it seems your image is the result of printing a Pandas DataFrame.
If that's the case, please see this answer:
Python pandas, how to widen output display to see more columns?
Upvotes: 1