i have a dataframe with "author" column and "isbn" column. and both are has dtype "str". but my dataframe also has column that pure numeric.

so i want function that very similiar with PCA. but it could handle dataframe as i mentioned previously.

(note: i want the function does not originating from prince library. because several reasons)