Just a PR to add a xsv pseudo <column> command that can pseudonymise a column's value by replacing them by an incremental id.
I don't propose that this should be added to the tool but I just offer this to the community if it can help anyone. What's more I haven't tried to be particularly efficient with this as I only used std's hashmap and this can be quite memory-hungry based on the cardinality of the column.
Anyway, I wish you a good day (or evening, or whatever),
Hello @BurntSushi,
Just a PR to add a
xsv pseudo <column>
command that can pseudonymise a column's value by replacing them by an incremental id.I don't propose that this should be added to the tool but I just offer this to the community if it can help anyone. What's more I haven't tried to be particularly efficient with this as I only used std's hashmap and this can be quite memory-hungry based on the cardinality of the column.
Anyway, I wish you a good day (or evening, or whatever),