A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/8532 below:

Series not correctly formatted in truncated output · Issue #8532 · pandas-dev/pandas · GitHub

Overview of the issues:

When a Series gets truncated, it seems that both parts are formatted separately, with the consequence that eg:

Note that this is not the case with a DataFrame

In [44]: s = pd.Series([1,1,1,1,1,1,1,1,1,1,0.9999,1,1]*10)

In [45]: pd.options.display.max_rows = 10

In [46]: s
Out[46]:
0    1
1    1
2    1
...
127    0.9999
128    1.0000
129    1.0000
Length: 130, dtype: float64

In [47]: s.to_frame()
Out[47]:
          0
0    1.0000
1    1.0000
2    1.0000
3    1.0000
4    1.0000
..      ...
125  1.0000
126  1.0000
127  0.9999
128  1.0000
129  1.0000

[130 rows x 1 columns]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4