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/8230 below:

DataFrame.to_string ignores col_space when header=False · Issue #8230 · pandas-dev/pandas · GitHub

import pandas as pd
df = pd.DataFrame([[0,1,2]], index=['Sum'], columns=['A','B','C'])
print(df.to_string(col_space=20))
print(df.to_string(col_space=20, header=False))
                       A                    B                    C 
Sum                    0                    1                    2
Sum  0  1  2

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