Advertisement

Python-based financial data analysis — Chapter 6: Financial time series analysis lecture notes

阅读量:
  • 第6章 金融时间序列
    • 6.1 pandas基础

      • 6.1.1 初始化DataFrame类的首要步骤
      • 6.1.2 运用DataFrame类的次级步骤
      • 6.1.3 初步数据分析
      • 6.1.4 Series类的特性与应用
      • 6.1.5 GroupBy操作的应用方式
    • 6.2 金融数据的处理与分析

    • 6.3 回归分析方法

    • 6.4 高频数据的特征与处理

第6章 金融时间序列

6.1 pandas基础

6.1.1 使用DataFrame类的第一步

复制代码
    import pandas as pd
    import numpy as np
    
    df = pd.DataFrame([10, 20, 30, 40], columns=['numbers'], index=['a', 'b', 'c', 'd'])
    df
    #    numbers
    # a       10
    # b       20
    # c       30
    # d       40
    
    df.index
    # Index(['a', 'b', 'c

全部评论 (0)

还没有任何评论哟~