Skip to main content
Solved

Compare two lists with PythonCaller

  • November 17, 2020
  • 2 replies
  • 84 views

dhaulagiri
Contributor
Forum|alt.badge.img+4

Hello,

I'm working on a French address table. A column contains a string with the abbreviated street type and street name, e.g. "AV DES CHAMPS-ELYSEES". I divided it and I built a list with its elements: AV, DES, CHAMPS-ELYSEES

I now need to know if the first item in the list is a correct street type. For that, I have to compare it with about 200 values of a reference file, also stored in a list: AV, BD, CHE, IMP...

I think I have to use PythonCaller but I don't know how to go about it. Can you help me?

Regards,

Nicolas

Best answer by dhaulagiri

Great!

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • November 17, 2020

I don't think you need to use a PythonCaller for this. If you merge your list onto each feature, you can then use a listsearcher

Capture


dhaulagiri
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • Best Answer
  • November 17, 2020

Great!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings