Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/85.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
jupyter中的SQL查询在字典中添加\n_Sql_Python 3.x_Dataframe_Jupyter Notebook - Fatal编程技术网

jupyter中的SQL查询在字典中添加\n

jupyter中的SQL查询在字典中添加\n,sql,python-3.x,dataframe,jupyter-notebook,Sql,Python 3.x,Dataframe,Jupyter Notebook,我正在jupyter笔记本上运行sql查询 一列应为json格式的序列化数据,另一列的格式为: { "et": "__decimal__: 1", "ll": "__decimal__: 0.2", "ti": "__decimal__: 0.1", "ps": "__decimal__: 0.3", "rt

我正在jupyter笔记本上运行sql查询

一列应为json格式的序列化数据,另一列的格式为:

{
  "et": "__decimal__: 1",
  "ll": "__decimal__: 0.2",
  "ti": "__decimal__: 0.1",
  "ps": "__decimal__: 0.3",
  "rt": "__decimal__: .5",
  "ni": "__decimal__: 0.1"
}
但一旦我将其加载到数据帧,我就会得到:

'{\n  "et": "__decimal__: 1",\n  "ll": "__decimal__: 0.2",\n  "ti": "__decimal__: 0.1",\n  "ps": "__decimal__: 0.3",\n  "rt": "__decimal__: .5",\n  "ni": "__decimal__: 0.1"\n}'
我搞砸了什么