You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import numpy as np
|
|
import pandas as pd
|
|
np.random.seed(0)
|
|
df1 = pd.DataFrame(np.random.randint(0,10,size=(5, 6)), columns=list('ABCDEF'))
|
|
print(df1)
|
|
print(df1.head(2)[['A','B']]) |