import pandas as pd
import matplotlib.pyplot as plt
file = 'd:\\a\\pandas\\test.xlsx'
data = pd.ExcelFile(file)
df1 = data.parse('Link')
df2 = df1[['dataFor', 'total']]
df2
リターン:パンダデータフレームのエラー:matplotlib.axes._subplots.AxesSubplot
print (type(df2))
が
class 'pandas.core.frame.DataFrame'
が
df2.plot(kind='line')
をしようと私に語りました3210
戻り
matplotlib.axes._subplots.AxesSubplot at 0xe4241d0
は、それが環境だろうか?
Jupyter notebook > Help > About
The version of the notebook server is 4.2.3 and is running on:
Python 3.5.2 |Anaconda 4.2.0 (32-bit)| (default, Jul 5 2016, 11:45:57) [MSC v.1900 32 bit (Intel)]
障害はどこですか? matplotlibは依然として標準ですか、初心者はBokehのために、あるいはその両方に行くべきですか?あなたはプロットをインラインで表示したい場合には
これはすべて問題なく、正常に動作します。何が問題なのですか?あなたは何を期待し、代わりに何が起こるでしょうか? – ImportanceOfBeingErnest
私は0xe4241d0メッセージでmatplotlib.axes._subplots.AxesSubplotを取得し、jupyterノートブックにグラフィックは表示されません。 – vbd
あなたはすでにWebgraphicsしか制作していないと知っていない限り、私はbokehをお勧めしません。 – ImportanceOfBeingErnest