yes i understand this isn't a function but what i meant was that the original OneHotEncoder() function will return sparse/dense depending on the sparse parameter.
I dint get what you meant by "make comment in terms of the transform....."