<?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 How do I edit the data entries and split one column into two in SAS Enterprise Miner? in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/How-do-I-edit-the-data-entries-and-split-one-column-into-two-in/m-p/588636#M7983</link>
    <description>&lt;P&gt;I am working on the Titanic Kaggle challenge and one thing that I want to do with it is to modify the data under some variables so that it's easier to model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, under the Cabin column, instead of the cabin ID "C85, C123, E46,...etc.", I want to change it within Enterprise Miner so that it is the beginning letter of the cabin ID. Thus, the data should be transformed to be "C, C, E, ...etc.".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, under the name column, I want to split the variable column into 2 variable columns where it's last name and the prefix + first name, e.g. change "last name, prefix first name" to one column that is "last name" and a second column that is "prefix first name."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the csv of the training data set for reference. Thank you for your support.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2019 19:06:30 GMT</pubDate>
    <dc:creator>mzhao</dc:creator>
    <dc:date>2019-09-13T19:06:30Z</dc:date>
    <item>
      <title>How do I edit the data entries and split one column into two in SAS Enterprise Miner?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-do-I-edit-the-data-entries-and-split-one-column-into-two-in/m-p/588636#M7983</link>
      <description>&lt;P&gt;I am working on the Titanic Kaggle challenge and one thing that I want to do with it is to modify the data under some variables so that it's easier to model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, under the Cabin column, instead of the cabin ID "C85, C123, E46,...etc.", I want to change it within Enterprise Miner so that it is the beginning letter of the cabin ID. Thus, the data should be transformed to be "C, C, E, ...etc.".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, under the name column, I want to split the variable column into 2 variable columns where it's last name and the prefix + first name, e.g. change "last name, prefix first name" to one column that is "last name" and a second column that is "prefix first name."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the csv of the training data set for reference. Thank you for your support.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 19:06:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-do-I-edit-the-data-entries-and-split-one-column-into-two-in/m-p/588636#M7983</guid>
      <dc:creator>mzhao</dc:creator>
      <dc:date>2019-09-13T19:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit the data entries and split one column into two in SAS Enterprise Miner?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-do-I-edit-the-data-entries-and-split-one-column-into-two-in/m-p/588790#M7984</link>
      <description>&lt;P&gt;Once you have the data in a SAS data set, the transformations are easy.&amp;nbsp; I could be wrong, but I believe that Enterprise Miner would use the same tools:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
length short_cabin $ 1;
short_cabin = cabin;
lastname = scan(name, 1, ',');
firstname_prefix = scan(name, 2, ',');
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 15 Sep 2019 02:16:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-do-I-edit-the-data-entries-and-split-one-column-into-two-in/m-p/588790#M7984</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-09-15T02:16:09Z</dc:date>
    </item>
  </channel>
</rss>

