0

在 Pycharm 我得到了这个代码:

import pandas as pd
years = range(2014, 2018)
shop1 = pd.Series([2409.14, 2941.01, 3496.83, 3119.55], index=years)
shop2 = pd.Series([1203.45, 3441.62, 3007.83, 3619.53], index=years)
shop3 = pd.Series([3412.12, 3491.16, 3457.19, 1963.10], index=years)

a = pd.concat([shop1, shop2, shop3])

print(a)

所以,我可以在控制台中查看我的代码,但我想显示它,就像你只是调用aJupyter 一样。我试过这个教程,但它根本不起作用:https ://www.jetbrains.com/help/pycharm/viewing-as-array.html

4

0 回答 0