5. Subset

Extract the Desired Portion from the Data Frame

  1. Select the Subset in the Data Analysis category.


  1. Data Frame: Select the data frame for the operation.

  2. Make a copy: Check this option to ensure that changes do not affect the original data frame.

  3. Method: Choose the method for specifying the rows or columns on which the operation will be applied.

  4. Allocate to: Specify the variable name where the operation results will be stored.

  5. Row Subset: Enter information about rows to proceed with the operation.

5-1. Slicing: Extract rows by specifying a range.

5-2. Condition: Specify the range or rows based on conditions.

5-3. Indexing: Select desired rows directly.

  1. Column Subset: Enter information about columns to proceed with the operation.

6-1. Indexing: Extract desired columns directly.

6-2. Slicing: Specify the range of columns to extract.

  1. Code View: View the generated code.

  2. Data View: Preview the output results.

  3. Run: Execute the commands.

Last updated