[librecat-dev] Catmandu and general csv manipulation use case example

Rolschewski, Johann Johann.Rolschewski at sbb.spk-berlin.de
Thu Sep 15 11:37:30 CEST 2016


Hi,

sorry, but this is a discussion list for the Catmandu project and not the "provide a solution for each of my tasks" list. Please get familiar with the basics of Catmandu. I also expect that you show what you have tried to solve your task with Catmandu before I will answer any further questions. And please stop switching your email address.

Johann

> -----Ursprüngliche Nachricht-----
> Von: librecat-dev-bounces at lists.uni-bielefeld.de [mailto:librecat-dev-
> bounces at lists.uni-bielefeld.de] Im Auftrag von aina at openmailbox.org
> Gesendet: Donnerstag, 15. September 2016 10:57
> An: librecat-dev at lists.uni-bielefeld.de
> Betreff: [librecat-dev] Catmandu and general csv manipulation use case
> example
> 
> Dear community,
> looking for a way to achieve the below task with a fix:
> 
> columnA,columnB,columnC
> namea1,namea1,newnamea1
> namea2,namea2,newnamea2
> namea3,namea3,newnamea3
> namea1
> namea2
> namea3
> namea1
> namea2
> namea3
> namea1
> namea2
> 
> 
> ....................
> 
> for each value found in columnA, we need to find it in columnB, and then
> replace this value found, with what exists in the same row, in columnC.
> 
> Columns B and C, are the "map", where we need to lookup for
> 
> the result will be a new column, like below
> 
> newnamea1
> newnamea2
> newnamea3
> newnamea1
> newnamea2
> newnamea3
> newnamea1
> newnamea2
> newnamea3
> newnamea1
> newnamea2
> 
> 
> Thank you in advance for any help,
> 
> best
> _______________________________________________
> librecat-dev mailing list
> - send list mails to librecat-dev at lists.uni-bielefeld.de
> - to unsubscribe or change options, visit https://lists.uni-
> bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
> - project website: http://librecat.org/



More information about the librecat-dev mailing list