code: def _fast_spmatrix_to_csc(A, hermitian=False):
      """Convert sparse matrix to CSC (by transposing, if possible)"""
      if (
          isspmatrix_csr(A)
          and hermitian
          and not np.issubdtype(A.dtype, np.complexfloating)
      ):
          return A.T
      else:
          return A.tocsc()
  
imports: from __future__ import division, print_function, absolute_import
  from .None import _arpack
  import numpy
  import warnings
  from scipy.sparse.linalg.interface import aslinearoperator, LinearOperator
  from scipy.sparse import eye, issparse, isspmatrix, isspmatrix_csr
  from scipy.linalg import eig, eigh, lu_factor, lu_solve
  from scipy.sparse.sputils import isdense
  from scipy.sparse.linalg import gmres, splu
  from scipy._lib._util import _aligned_zeros
  from scipy._lib._threadsafety import ReentrancyLock
label_desc: Use image node_id 4 for calling a global function with example usage: _fast_spmatrix_to_csc(A, hermitian) and returns: A, A