Data Operations Guide: All 15 Transformations Explained
A complete guide to all 15 data operations: label encode, one-hot encode, filter, transpose, rename, date conversion, concatenate, cross tab, rename factor, impute, grouping, drop duplicates, ignore column, delete missing, and data table view.
Data Operations Guide: All 15 Transformations Explained
This guide explains every data operation in plain English, when to use it, and how to run it step by step. Each operation includes an example showing before and after.
---
1. Label Encode
Plain English: Converts text categories into numbers. Each unique category gets a number (0, 1, 2, …).
When to use: Machine learning models need numbers, not text. Use Label Encode when you have categories like "Red", "Blue", "Green" and need 0, 1, 2.
Step-by-step:
- Select the text column with categories.
- Choose Label Encode in the operations panel.
- Review the mapping (e.g., Red → 0, Blue → 1).
- Click Apply.
| Before (Color) | After (Colorencoded) |
|---|---|
| Red | 0 |
| Blue | 1 |
| Green | 2 |
| Red | 0 |
| Blue | 1 |
2. One-Hot Encode
Plain English: Creates one new binary column (0 or 1) for each category. A row gets 1 in the column that matches its category, and 0 in the rest.
When to use: When categories have no order (e.g., "Small", "Medium", "Large" is not necessarily 1 < 2 < 3). Good for regression and tree-based models.
Step-by-step:
- Select the categorical column.
- Choose One-Hot Encode.
- Optionally drop the first column to avoid multicollinearity.
- Click Apply.
| Before (Size) | SizeSmall | SizeMedium | SizeLarge |
|---|---|---|---|
| Small | 1 | 0 | 0 |
| Medium | 0 | 1 | 0 |
| Large | 0 | 0 | 1 |
| Small | 1 | 0 | 0 |
3. Filter Rows
Plain English: Keeps only the rows that match a condition and removes the rest.
When to use: You want to focus on a subset (e.g., only 2024 data, only sales over $100, only "Active" customers).
Step-by-step:
- Choose Filter Rows in the operations panel.
- Select the column to filter on.
- Pick the operator (equals, greater than, contains, etc.).
- Enter the value.
- Click Apply.
| Before | After |
|---|---|
| ID, Product, Sales | ID, Product, Sales |
| 1, A, 200 | removed |
| 2, B, 600 | 2, B, 600 |
| 3, C, 800 | 3, C, 800 |
| 4, D, 300 | removed |
4. Transpose
Plain English: Flips rows and columns. What was in rows becomes columns, and what was in columns becomes rows.
When to use: You have data organized by rows but need it by columns (or the opposite). Common for time series or wide vs long format.
Step-by-step:
- Choose Transpose.
- Optionally select a column to use as new column headers.
- Click Apply.
| Before | After |
|---|---|
| Month, A, B, C | Metric, Jan, Feb, Mar |
| Jan, 10, 20, 30 | A, 10, 20, 30 |
| Feb, 15, 25, 35 | B, 15, 25, 35 |
| Mar, 20, 30, 40 | C, 20, 30, 40 |
5. Column Rename
Plain English: Changes column names to better, clearer labels.
When to use: Names are unclear, have typos, or contain spaces/special characters that cause issues.
Step-by-step:
- Choose Column Rename.
- Select the column(s) to rename.
- Enter new names.
- Click Apply.
| Before | After |
|---|---|
| custid | CustomerID |
| prodnm | ProductName |
| amt | Amount |
6. Date Conversion
Plain English: Converts text or numbers into proper date format so the system recognizes them as dates.
When to use: Your dates are stored as text (e.g., "2024-01-15") or in an odd format (e.g., "15/01/2024") and you want them in a standard date type.
Step-by-step:
- Choose Date Conversion.
- Select the column.
- Specify the current format (e.g., YYYY-MM-DD, DD/MM/YYYY).
- Choose the output format.
- Click Apply.
| Before (Text) | After (Date) |
|---|---|
| 2024-01-15 | 2024-01-15 |
| 15/01/2024 | 2024-01-15 |
| Jan 15, 2024 | 2024-01-15 |
7. Column Concatenate
Plain English: Combines two or more columns into one new column.
When to use: You have FirstName and LastName and want FullName, or City and State and want Location.
Step-by-step:
- Choose Column Concatenate.
- Select the columns to combine.
- Choose a separator (space, comma, dash, or custom).
- Enter a name for the new column.
- Click Apply.
| FirstName | LastName | FullName |
|---|---|---|
| John | Smith | John Smith |
| Jane | Doe | Jane Doe |
8. Cross Tabulation
Plain English: Creates a frequency table showing how often combinations of two variables occur together.
When to use: You want to see counts for two categories at once (e.g., Region × Product, or Gender × Purchase).
Step-by-step:
- Choose Cross Tabulation.
- Select the row variable.
- Select the column variable.
- Choose whether to show counts, percentages, or both.
- Click Apply.
| Product A | Product B | Product C | |
|---|---|---|---|
| North | 10 | 5 | 8 |
| South | 7 | 12 | 6 |
| East | 9 | 8 | 11 |
9. Rename Factor Level
Plain English: Changes the display name of a category value (e.g., "M" to "Male", "Y" to "Yes").
When to use: Categories have short codes or typos that you want to make clearer for reports and charts.
Step-by-step:
- Choose Rename Factor Level.
- Select the column.
- Map old values to new values (e.g., M → Male, F → Female).
- Click Apply.
| Before (Gender) | After (Gender) |
|---|---|
| M | Male |
| F | Female |
| M | Male |
10. Impute Missing Values
Plain English: Fills in empty (missing) cells with a value instead of leaving them blank.
When to use: You have missing data and want to keep all rows. You can use mean, median, mode, or a fixed value.
Step-by-step:
- Choose Impute Missing Values.
- Select the column(s).
- Pick the method (mean, median, mode, constant).
- If constant, enter the value.
- Click Apply.
| Before (Age) | After (Age) |
|---|---|
| 25 | 25 |
| (empty) | 32 |
| 40 | 40 |
| (empty) | 32 |
---
11. Grouping Statistics
Plain English: Calculates summary statistics (mean, sum, count, etc.) for each group defined by one or more columns.
When to use: You want "average sales by region", "count of orders by product", or "sum of revenue by month".
Step-by-step:
- Choose Grouping Statistics.
- Select the group-by column(s).
- Select the column(s) to aggregate.
- Choose the statistic (mean, sum, count, min, max).
- Click Apply.
| Region | Sales |
|---|---|
| North | 100 |
| North | 150 |
| South | 80 |
| South | 120 |
| Region | SalesMean |
|---|---|
| North | 125 |
| South | 100 |
12. Drop Duplicates
Plain English: Removes rows that are exact copies of another row. Keeps one copy of each unique row.
When to use: Your data has repeated rows from a merge, copy-paste, or import error.
Step-by-step:
- Choose Drop Duplicates.
- Optionally select specific columns to use for uniqueness.
- Choose to keep first or last occurrence.
- Click Apply.
| Before | After |
|---|---|
| 1, John, 25 | 1, John, 25 |
| 2, Jane, 30 | 2, Jane, 30 |
| 1, John, 25 | removed |
| 3, Bob, 28 | 3, Bob, 28 |
13. Ignore / Unignore Column
Plain English: Temporarily hides a column from analysis without deleting it. Unignore brings it back.
When to use: A column is not needed for the current analysis (e.g., IDs, notes) but you want to keep it in the dataset.
Step-by-step:
- Select the column.
- Choose Ignore Column (or use the column menu).
- The column is hidden from operations and results.
- To bring it back, choose Unignore Column.
---
14. Delete Missing
Plain English: Removes rows that have any missing value in the selected columns.
When to use: You prefer a smaller dataset with no gaps rather than imputing. Use when missing data is limited and random.
Step-by-step:
- Choose Delete Missing.
- Select which columns to check for missing values.
- Click Apply.
| Before | After |
|---|---|
| 1, John, 25 | 1, John, 25 |
| 2, (empty), 30 | removed |
| 3, Bob, (empty) | removed |
| 4, Jane, 28 | 4, Jane, 28 |
15. Data Table View
Plain English: Shows your data in a raw table format. No transformation—just a clear spreadsheet view.
When to use: You want to browse your data, check values, or verify results after other operations.
Step-by-step:
- Choose Data Table View or click on the data grid.
- Scroll through rows and columns.
- Use search or sort if available.
---
Quick Reference
| Operation | Purpose |
|---|---|
| Label Encode | Categories → numbers |
| One-Hot Encode | Categories → binary columns |
| Filter Rows | Keep matching rows |
| Transpose | Flip rows and columns |
| Column Rename | Better column names |
| Date Conversion | Fix date formats |
| Column Concatenate | Combine columns |
| Cross Tabulation | Frequency tables |
| Rename Factor Level | Change category labels |
| Impute Missing | Fill gaps |
| Grouping Statistics | Stats by group |
| Drop Duplicates | Remove repeats |
| Ignore/Unignore | Hide or show columns |
| Delete Missing | Remove incomplete rows |
| Data Table View | Raw data view |
What's Next?
- [String Operations Guide](string-operations-guide) – Substring, replace, trim, and more
- [Statistics Overview](statistics-overview) – Back to the basics
- [Formula Builder Guide](formula-builder-guide) – Custom calculations
Related Articles
String Operations Guide: All 20 Text Transformations
A complete guide to substring, replace, trim, pad, case changes, split, concatenate, length, contains, extract pattern, and 10 more string operations.
Statistics Overview: What Are Statistics and How to Use Them
A beginner-friendly introduction to statistics, descriptive vs inferential analysis, the Statistics workspace layout, and running your first analysis.
Formula Builder: Calculated Columns and Expressions
Build powerful calculated columns using column references, pipe chaining, and 70+ functions across String, Math, Date, Aggregation, Finance, and Geo categories.
Was this helpful?