Skip to main content
Solved

Compare two lists with PythonCaller

  • November 17, 2020
  • 2 replies
  • 96 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!

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • 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!