numericalise: Convert a non-numeric column to a numeric representation

Description Usage Arguments Value

Description

Given an input data.frame, the specified column will be converted to numeric values. This is a wrapper for as.numeric(as.factor(df$col)), or as.numeric(cdf$col) for boolean columns.

Usage

1

Arguments

df

A data.frame

col

The name (as a string) of the column to be converted

Value

The transformed data.frame.


lewinfox/fast-ai-structured documentation built on May 23, 2019, 5:03 a.m.