leemengtaiwan
11/15/2017 - 6:19 AM

在dataframe追加新的column

在dataframe追加新的column

df1['e'] = Series(np.random.randn(sLength), index=df1.index)


References
- https://stackoverflow.com/questions/12555323/adding-new-column-to-existing-dataframe-in-python-pandas