Dapatkan komponen prinsip pertama PCA

# Create a PCA 
model = PCA()

# Fit model to points
model.fit(data)

# Get the first principal component
pc_1 = model.components_[0,:]
Fancy Falcon