# Row as header

Use a row as column names.

## How to Access This Feature

### From + (plus) Button

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oN4sbGmNcWcP_Jux6%2Fcommand-row-as-header-df-menu.png?generation=1586795458853596\&alt=media)

* Click "+" button and select "Other" - > "Convert ... to NA for All Columns"

## Use a row as column names

![](https://2850417076-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4HLCK3olgduYoe3RVS%2F-M4oMvCUDQwHTJ0eWi_f%2F-M4oN4sdV1JLfhJLL-yT%2Frow_as_header.png?generation=1586795458748224\&alt=media)

1. Row Index (Optional) - The default is 1. Index of a row to use as column names.
2. Prefix for New Column Names - The default is "". Prefix for the new column names.
3. Clean New Column Names - The default is TRUE. If TRUE, column names are cleaned by only underscore, lowercase letters, and numbers (same logic as clean\_names from janitor package).
