Both row-major and column-major are standards. The doc is still ambiguous to me. `in columns` could mean:

1. The matrix is row-based while the principal components are its columns.

2. The result is an array of principal components.