Pipelines
General Info
Useful Snippets

1.0.6 Convert processed new data from numpy array to a DataFrame with names

Example:

# Get the transformed feature names:
transformed_feature_names = full_pipeline.get_feature_names_out()
print(transformed_feature_names)

# Convert the numpy_array to a dataframe and add the column names:
pd.DataFrame(DF_transformed_new_data
           , columns = transformed_feature_names)