pd.describe()不起作用

时间:2018-01-05 14:05:03

标签: pandas describe

from abupy import ABuSymbolPd

import matplotlib.pyplot as plt
import numpy as np
import pandas as pd


tsla_df = ABuSymbolPd.make_kl_df('usTSLA', n_folds=8)


tsla_df [['close', 'volume']].plot (subplots = True, style = ['r', 'g'],
                                grid = True)


print tsla_df [ ['close', 'volume']]

plt.show()
tsla_df.info()
tsla_df.describe(include = "all")

在上面的python代码中,我希望最后的代码列出tsla_df的统计信息,但它没有,也从不提供任何错误信息。有人有任何想法吗?

0 个答案:

没有答案