Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Dataframe Jupyter笔记本中的数据帧未返回完整元组内容_Dataframe_Tuples_Jupyter - Fatal编程技术网

Dataframe Jupyter笔记本中的数据帧未返回完整元组内容

Dataframe Jupyter笔记本中的数据帧未返回完整元组内容,dataframe,tuples,jupyter,Dataframe,Tuples,Jupyter,当前在Jupyter笔记本中编程了我的代码,其中函数learn.predict(“xxx”)将返回一个元组: 重点是我想转换元组,但因为learn.predict(“xxx”)。predict不起作用,我使用了数据帧(learn.predict(“xxx”)).transpose(),但如图所示,它不会返回元组的全部内容,如..中的[张量(0.0006)、张量(0.0284)、张量(0.0006…: 关于如何解决这个问题有什么想法吗?根据,这是您问题的解决方案: pd.set\u选项('disp

当前在Jupyter笔记本中编程了我的代码,其中函数
learn.predict(“xxx”)
将返回一个元组:
重点是我想转换元组,但因为
learn.predict(“xxx”)
。predict不起作用,我使用了
数据帧(learn.predict(“xxx”)).transpose()
,但如图所示,它不会返回元组的全部内容,如
..
中的
[张量(0.0006)、张量(0.0284)、张量(0.0006…

关于如何解决这个问题有什么想法吗?

根据,这是您问题的解决方案:

pd.set\u选项('display.max\u colwidth',-1)

顺便说一句,你的手机内容太长了,我看不到任何方便的解决方案,只能像你在第一张图片中那样单独打印