Skip to content

fread stringsAsFactors=0.2 #2025

@mattdowle

Description

@mattdowle

For character columns, if uniqueN(column)/nrow < 0.2 then make the column a factor. Generalizing current binary argument to a scale between FALSE (0.0) and TRUE (1.0).
Request came up for onwards model build which switches based on character / factor type.
No change to default FALSE.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions