You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Fill in the relevant information below to help triage your issue.)
Q
A
Version
9.0
Question
Short background:
I accept a CSV file from the user, and I aim to parse and consume it.
As the system is agnostic to duplicated lines, they disappear when processed,
but then the numbers I report don't match.
Actual question
What is the best way to detect the number of duplicated rows, or filter them out ?
Checks before submitting
Be sure that there isn't already an issue about this. See: Issues list
Be sure that there isn't already a pull request about this. See: Pull requests
Filtering out duplicate row is IMHO a domain specific issue which is not limited to CSV but to any tabular or collection of data. the CSV provided by the packate is an Iterator or array records. If you can filter out duplicates from a database you can apply the same technique to league/csv. In other word the problem you are trying to resolve is:
not specific to CSV
not resolved by the package because it depends on a lot of outside parameters the package will never be knowledgable about
so no de-duplicating a CSV is not handle and is considered out of scope for this package.
(Fill in the relevant information below to help triage your issue.)
Question
Short background:
I accept a CSV file from the user, and I aim to parse and consume it.
As the system is agnostic to duplicated lines, they disappear when processed,
but then the numbers I report don't match.
Actual question
What is the best way to detect the number of duplicated rows, or filter them out ?
Checks before submitting
The text was updated successfully, but these errors were encountered: