Barficient logoBarficient Docs

CSV Transformations Reference

List of available CSV transform operations, with descriptions and example tables.

A comprehensive reference for all built-in CSV transforms. Transform your data with powerful operations for cleaning, reshaping, and analyzing CSV files.

Overview

Each transformation includes:

  • What it does - Clear description of the operation
  • How it works - Step-by-step explanation
  • Before & after examples - Visual representation with sample data

1. Rename & Remove Columns

Rename Columns

Change one or more column headers.
Example: ProdProductName, UnitPricePrice.

Remove Columns

Drop unwanted columns entirely.
Example: remove InternalNotes.

Before

OrderIDProdQtyUnitPriceInternalNotes
1001Widget A512.50Check stock levels
1002Widget B215.00Discontinued soon
1003Widget C310.00Promo item

After

OrderIDProductNameQtyPrice
1001Widget A512.50
1002Widget B215.00
1003Widget C310.00

2. Remove Rows

Delete rows matching a condition.
Example: drop rows where Quantity < 3.

Before

OrderIDProductNameQuantityPrice
1001Widget A512.50
1002Widget B215.00
1003Widget C310.00
1004Widget D18.00

After

OrderIDProductNameQuantityPrice
1001Widget A512.50
1003Widget C310.00

3. Remove Specific Words

Strip out a target word or phrase from cell text.
Example: remove “Draft”.

Before

IDDescription
1Invoice #1234 Draft
2Payment pending (Draft)
3Final Report
4Test Record (Test)

After (remove “Draft”)

IDDescription
1Invoice #1234
2Payment pending ()
3Final Report
4Test Record (Test)

4. Replace Text

Find and replace substrings in cells.
Example: TempUserTemporary.

Before

UserIDStatus
U001TempUser
U002Active
U003TempUser
U004Inactive

After

UserIDStatus
U001Temporary
U002Active
U003Temporary
U004Inactive

5. Remove Duplicates

Keep only the first row per group of columns.
Example: dedupe on Email + LastName.

Before

EmailFirstNameLastNameDate
a@ex.comAliceJones2023-01-01
b@ex.comBobSmith2023-02-01
a@ex.comAliceJones2023-03-01
c@ex.comCarolLee2023-04-01

After

EmailFirstNameLastNameDate
a@ex.comAliceJones2023-01-01
b@ex.comBobSmith2023-02-01
c@ex.comCarolLee2023-04-01

6. Chain Transforms

Apply multiple steps in sequence.
Example: remove column → drop rows → rename headers.

Original

OrderIDProdQtyUnitPriceNotes
1001Widget A512.50Promo (Draft)
1002Widget B215.00Private Note

After

OrderIDProductNameQtyPrice
1001Widget A512.50
1002Widget B215.00

7. Convert to Number

Strip quotes, symbols, commas, percent signs → parse as numbers.

Before

QuantityPriceSalesPercent
"5"12.50$1,200.00"50%"
"2"15.00$800.50"25%"

After

QuantityPriceSalesPercent
512.501200.0050
215.00800.5025

8. Aggregate

Group by columns and compute metrics (sum, mean, median, min, max, count).

Before

CategorySoldNetSales
A10100
A550
B20200

After (group by Category, sum Sold & NetSales)

CategorySoldNetSales
A15150
B20200

Tips & Best Practices

Chaining transforms lets you build complex workflows in one go—each step's output feeds the next. Combine multiple operations to achieve powerful data transformations.

Common Workflows

  • Data Cleaning - Remove duplicates → Remove specific words → Convert to numbers
  • Column Management - Rename columns → Remove unwanted columns → Reorder
  • Analysis Prep - Remove rows by condition → Aggregate data → Remove duplicates
  • Text Processing - Replace text → Remove specific words → Rename columns

On this page