Setting rows as column names
Name : Setting rows as column names
Description: This function sets a specified row as column names in a dataframe, It ensures column names are unique and replaces special characters and spaces with underscores
Input : Dataframe - The dataframe to process
Output : Dataframe - Returns a processed dataframe with the specified transformation applied
Mandatory and Non-mandatory/Advanced hyperparameters required for the function are listed below
Mandatory
Non-mandatory/Advanced hyperparameters
Row
Save As New Table
Details of Hyperparameters are provided below
Name
Description
Accepted range/ values
Row
The index of the row to use as column names
Integer value (0, length of dataframe)
Save As New Table
Option to choose whether the dataframe is to be saved as a new table
True, False
Last updated