call `A = A.T` before `self._index_dtypes_to_int64(A)` in factorizers.py
call
A = A.Tbeforeself._index_dtypes_to_int64(A)in factorizers.py