maxharlow / csvmatch

🔎 Finds fuzzy matches between CSV files
Other
183 stars 22 forks source link

Parameter to include original line numbers in output #5

Closed maxharlow closed 7 months ago

lsdh commented 7 years ago

I would like to see support for matching line numbers if this is possible. That way you could tell which rows match on which csv.

I also wanted to say thank you for this useful program, saves having to run time consuming formula's in Excel to find a match! :+1:

maxharlow commented 7 years ago

@lsdh thanks! Glad you've found it useful. To clarify -- by matching line numbers do you mean so that ordering matters?

lsdh commented 7 years ago

For example -

List 1:

  1. apples
  2. oranges
  3. apricots

List 2:

  1. apricots
  2. oranges
  3. apples

Output: line 1 : apples, line 3: apples line 2: oranges, line 2 : oranges line 3: apricots, line 1: apricots

It would help identify which row contains the duplicate/matching number in each list. If this is not possible no worries, it's still a great little python program.