Open
Description
If display.unicode.east_asian_width
is enabled pandas aligns CJK characters properly, as width 2, when printing data frame or series.
It seems that, however, DataFrame.info()
does not change its behavior.
Is it possible to make DataFrame.info()
also follow the option?
pd.set_option("display.notebook_repr_html", False)
pd.set_option("display.unicode.east_asian_width", True)
df = pd.DataFrame(
{
"열이름": ["하나", "둘", "셋"],
"列名": ["いち", "に", "さん"],
"column": ["one", "two", "three"],
}
)
print(df)
print(df.dtypes)
df.info()