- Dict到Series:
series = pandas.Series(dic)
- Series到DataFrame(一维):
data = pandas.DataFrame(series, columns = ['content'])
- Series到DataFrame(二维):
data = pandas.DataFrame([series.index, series.values], index = ['index', 'content'])
data = data.T
series = pandas.Series(dic)
data = pandas.DataFrame(series, columns = ['content'])
data = pandas.DataFrame([series.index, series.values], index = ['index', 'content'])
data = data.T