Data Frame: import numpy as npimport pandas as pdnp.random.seed(1)import datetimetoday = datetime.date.today()someday = datetime.date(2016, 1, 1)diff = today - somedayrows,cols = diff.days,6data = np.random.rand(rows,cols)tidx = pd.date_range('2016-01-01', periods=rows, freq='D')data_frame = pd.DataFrame(data, columns=['a','b','c','d','e','f'], index=tidx)print(data_frame)
Question - Show the first 30 rows of your data (using a Pandas data frame function).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here