Setting_up_your_Python_Environments
1.0.2 Testing your installation If you are able to run the following program in a cell on your Jupyter Notebook, you can be fairly certain that you’re good to go. [12]: import pandas as pd import numpy as np
np.random.seed(0) random_list = np.random.randn(5, 2) random_df = pd.DataFrame(random_list, columns=["RV 1", "RV2"]) random_df
[12]:
RV 1 RV2 0 1.764052 0.400157 1 0.978738 2.240893 2 1.867558 -0.977278 3 0.950088 -0.151357 4 -0.103219 0.410599
2
Made with FlippingBook - Online catalogs