<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dataset that has multiple cities within a single cell  in Spatial Data Science Questions</title>
    <link>https://community.esri.com/t5/spatial-data-science-questions/dataset-that-has-multiple-cities-within-a-single/m-p/781469#M1783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes there is data in other columns that would need to be copied to the rows (with separate cities).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan Shapich | Programmer/Analyst&lt;/P&gt;&lt;P&gt;Global Programs&lt;/P&gt;&lt;P&gt;316 Boucke Building&lt;/P&gt;&lt;P&gt;The Pennsylvania State University&lt;/P&gt;&lt;P&gt;University Park, PA 16802&lt;/P&gt;&lt;P&gt;Email: dms139@psu.edu&lt;/P&gt;&lt;P&gt;Phone: 814-865-2435&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2020 18:23:27 GMT</pubDate>
    <dc:creator>DannyShapich</dc:creator>
    <dc:date>2020-03-09T18:23:27Z</dc:date>
    <item>
      <title>Dataset that has multiple cities within a single cell</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/dataset-that-has-multiple-cities-within-a-single/m-p/781467#M1781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dataset that has multiple cities within a single cell (separated by pipes, colons, and commas).&amp;nbsp; Example: Suwon;South Korea;Asia|Seoul;South Korea;Asia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I use to separate those cities into different rows (along with the associated data) so that ArcGIS Pro can utilize it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 17:45:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/dataset-that-has-multiple-cities-within-a-single/m-p/781467#M1781</guid>
      <dc:creator>DannyShapich</dc:creator>
      <dc:date>2020-03-09T17:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset that has multiple cities within a single cell</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/dataset-that-has-multiple-cities-within-a-single/m-p/781468#M1782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are there other data associated with each row? or is that it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 18:12:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/dataset-that-has-multiple-cities-within-a-single/m-p/781468#M1782</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-09T18:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset that has multiple cities within a single cell</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/dataset-that-has-multiple-cities-within-a-single/m-p/781469#M1783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes there is data in other columns that would need to be copied to the rows (with separate cities).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan Shapich | Programmer/Analyst&lt;/P&gt;&lt;P&gt;Global Programs&lt;/P&gt;&lt;P&gt;316 Boucke Building&lt;/P&gt;&lt;P&gt;The Pennsylvania State University&lt;/P&gt;&lt;P&gt;University Park, PA 16802&lt;/P&gt;&lt;P&gt;Email: dms139@psu.edu&lt;/P&gt;&lt;P&gt;Phone: 814-865-2435&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 18:23:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/dataset-that-has-multiple-cities-within-a-single/m-p/781469#M1783</guid>
      <dc:creator>DannyShapich</dc:creator>
      <dc:date>2020-03-09T18:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset that has multiple cities within a single cell</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/dataset-that-has-multiple-cities-within-a-single/m-p/781470#M1784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;University of Leeds        Leeds;United Kingdom;Europe|London;United Kingdom;Europe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would require:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;University of Leeds           Leeds&lt;/P&gt;&lt;P&gt;University of Leeds           London&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan Shapich | Programmer/Analyst&lt;/P&gt;&lt;P&gt;Global Programs&lt;/P&gt;&lt;P&gt;316 Boucke Building&lt;/P&gt;&lt;P&gt;The Pennsylvania State University&lt;/P&gt;&lt;P&gt;University Park, PA 16802&lt;/P&gt;&lt;P&gt;Email: dms139@psu.edu&lt;/P&gt;&lt;P&gt;Phone: 814-865-2435&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 18:25:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/dataset-that-has-multiple-cities-within-a-single/m-p/781470#M1784</guid>
      <dc:creator>DannyShapich</dc:creator>
      <dc:date>2020-03-09T18:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset that has multiple cities within a single cell</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/dataset-that-has-multiple-cities-within-a-single/m-p/781471#M1785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post table (dbf or gdb, csv or excel sheet) with a couple of rows.&lt;/P&gt;&lt;P&gt;It is easy to do with python and numpy using TableToNumPyArray and processing the array.&lt;/P&gt;&lt;P&gt;You have to repeat the number of cities by an unknown amount.&lt;/P&gt;&lt;P&gt;parsing the cities isn't a real problem, setting up the repeats needs to be tested unless you know that there will always be 2 cities, no more, no less.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt; a &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; np&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;asarray&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"University of Leeds"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Leeds;United Kingdom;Europe|London;United Kingdom;Europe"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;split&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;";"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; i &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; a&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;split&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"|"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Leeds'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'London'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:50:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/dataset-that-has-multiple-cities-within-a-single/m-p/781471#M1785</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-12T08:50:23Z</dc:date>
    </item>
  </channel>
</rss>

