LogoLogo
About
Tables: v2
  • Home
  • Guides
  • BDK
  • REST API
  • Release Notes
Tables: v2
  • Getting Started
    • Tables Overview
  • Table Creation
    • Create a Table
    • Create a Sample Table
    • Create a Pivot Table
    • Create an Integer Table
    • Create a Table from JSON
    • Create a Table from the Rows
    • Create a Combined Table
    • Create a Merged Table
    • Get a Table from a File
  • Rows
    • Get Row(s)
    • Get Row Count
    • Get Row Number
    • Get Value from Row
    • Group Rows
    • Insert a Row
    • Insert an Empty Row
    • Remove Duplicate Rows
    • Set a Row to JSON
  • Columns
    • Get a Column
    • Get a Column's Values
    • Get a Column Number
    • Get Column Count
    • Get Column Stats
    • Get Column Names
    • Change a Column's Data Type
    • Delete Columns
    • Insert a Column
    • Move a Column
    • Rename a Column
    • Rename Columns
    • Round a Column's Values
    • Update a Column
  • Cells
    • Set a Cell in a Table
  • Conversions
    • Convert CSV to a Table
    • Convert a Table to CSV
    • Convert a Table to Excel
  • Manipulations
    • Clear a Table
    • Combine Tables
    • Copy a Table
    • Extract a Subtable
    • Group a Table
    • Query a Table
    • Sort a Table
    • Split a Table
    • Join Subtables
    • Replace a Value
    • Replace a Value in a Column
    • Transpose a Table
Powered by GitBook
On this page
  • Overview
  • Input Concepts
  • Output Concepts
  • Examples
  • 2. Transpose a Table Using Optional Arguments

Was this helpful?

Export as PDF
  1. Manipulations

Transpose a Table

Transposes a given table.

Overview

This procedure transposes a given table. It flips the table's rows to columns and the columns to rows. This may be useful when you want to view or work with your data from a different angle. For example, turning a list of dates in a column into headers across the top, or switching the focus from categories to individual entries.

Input Concepts

Concept
Type
Description
Default
Required

table

table

The table to transpose

No default

Yes

index column

text

The name of the index column for the transposed table

No default

No

new column names

text

New names for the transposed columns

No default

No

Output Concepts

Concept
Description

table

The updated table after transposing.

Examples

1. Transpose an Table

create an integer table
transpose the table
0
1
index

100

200

Amt

10

5

Min

300

500

Max

2. Transpose a Table Using Optional Arguments

create a sample table
transpose the table where
    the index column is "Name"
    the new column names are "A1", "A2", "A3"
A1
A2
A3

+ 1 (415) 691 9426

123 east street

San Francisco

+ 1 (415) 691 1234

321 west street

San Jose

+ 1 (415) 691 4595

213 north street

San Francisco

Last updated 1 month ago

Was this helpful?