Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- import numpy as np
- datos = {'num_aleatorios1': pd.DataFrame(np.random.randn(3, 3)),
- 'num_aleatorios2': pd.DataFrame(np.random.randn(3, 2))}
- # Creación Panel:
- panel = pd.Panel(datos)
- # Acceso a un DataFrame:
- print(panel['num_aleatorios1'])
- print(panel['num_aleatorios2'])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement