title: Project variables in PCA plot in Python
body: <p>After performing a PCA analysis in R we can do: </p>
  
  <pre><code>ggbiplot(pca, choices=1:2, groups=factor(row.names(df_t)))
  </code></pre>
  
  <p>That will plot the data in the 2 PC space, and the direction and weight of the variables in such space as vectors (with different length and direction).</p>
  
  <p>In Python I can plot the data in the 2 PC space, and I can get the weights of the variables, but how do I know the direction.</p>
  
  <p>In other words, how could I plot the variable contribution to both PC (weight and direction) in Python?</p>