ezr.rename_by_lookup: Title Rename Columns by Lookup

Description Usage Arguments Details

Description

Rename columns in a dataframe by a lookup table.

Usage

1
ezr.rename_by_lookup(df, df_column_lookup)

Arguments

df

The datafraine

df_column_lookup

a dataframe with a new and old column for the spelling of names. It should have a 'new' and an 'old' column name.

Details

Lookup table must have the column names 'old' and 'new'


jmp1989/easyr documentation built on May 20, 2019, 7:25 a.m.