For example we have dataframe like this: SPY AAPL IBM GOOG GLD 2017-01-03 222.073914 114.311760 160.947433 786.140015 110.470001 2017-01-04 223.395081 114.183815 162.940125 786.900024 110.860001 2017-01-05 223.217606 114.764473 162.401047 794.020020…
英文文档: vars([object]) Return the __dict__ attribute for a module, class, instance, or any other object with a __dict__ attribute. Objects such as modules and instances have an updateable __dict__ attribute; however, other objects may have write restri…