下面显示的是pycharm中的输出控制台。我想显示一个长句子打印出来,但这给了我...
UIButton
这是我用来打印的代码:
notes
0 {'Notes': "85 Male Malay NKDA walking stick a...
1 {'Notes': '85yo chinese man nkda PHX 1) Hypert...
答案 0 :(得分:0)
IIUC使用pd.options
pd.options.display.max_colwidth = 1000
pd.Series('this is very long long long long long long long long long string')
Out[39]:
0 this is very long long long long long long long long long string
dtype: object
更新
pd.Series([{'LOL!':'this is very long long long long long long long long long stridddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddng','LOL2':'this is very long long long long long long long long long string'}])
Out[47]:
0 {'LOL2': 'this is very long long long long long long long long long string', 'LOL!': 'this is very long long long long long long long long long stridddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddng'}
dtype: object