Is it a must to convert pandas dataframe to numpy arrays for machine learning algorithms in scikit-learn ?
I know the to_numpy() function does the conversion. This would mean I have to manually create a dummy matrix for categorical columns in pandas dataframe too.
What happens if I just use pandas dataframe as input in scikit-learn ? And If I convert pandas dataframe to numpy arrays, then does it means my column names is no longer preserved in the machine learning algorithm ? When it comes to model diagnostics, extra steps need to be taken to reconcile the column names with numpy arrays?