如下所示:
# -*- coding: utf-8 -*-
import numpy as np
import pandas as pd
def main():
s = pd.Series([i*2 for i in range(1,11)])
print type(s)
print (s)
dates = pd.date_range("20170301",periods=8)
df = pd.DataFrame(np.random.randn(8,5),index=dates,columns = list("ABCDE"))
print df
if __name__ == '_