Remove Attributes from Numeric Columns in a Data Frame
Source:R/remove_numeric_attributes.R
remove_numeric_attributes.Rd
Iterates over each column in the provided data frame. If a column is numeric and has attributes, this function removes those attributes by converting the column to a basic numeric vector. This is particularly useful for cleaning data frames after operations that may add undesired attributes to numeric columns, such as aggregations or merges.