<?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 Pandas Forward Fill Based on Keyword in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/pandas-forward-fill-based-on-keyword/m-p/17192#M11226</link>
    <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hello! I am trying to forward fill a column in a Pandas dataframe based on a keyword. I have come up with: &lt;/P&gt;
&lt;P&gt;pdf_df['EEName_TEST'] = pdf_df['EEName_TEST'].str.contains('Name:').ffill()&lt;/P&gt;
&lt;P&gt;This gives me a boolean result but I still can't figure out what I'm missing to actually fill in the names and haven't been able to find a good solution yet. Any thoughts would be greatly appreciated!&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2021 13:47:43 GMT</pubDate>
    <dc:creator>WhatIsHappening</dc:creator>
    <dc:date>2021-07-28T13:47:43Z</dc:date>
    <item>
      <title>Pandas Forward Fill Based on Keyword</title>
      <link>https://community.databricks.com/t5/data-engineering/pandas-forward-fill-based-on-keyword/m-p/17192#M11226</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hello! I am trying to forward fill a column in a Pandas dataframe based on a keyword. I have come up with: &lt;/P&gt;
&lt;P&gt;pdf_df['EEName_TEST'] = pdf_df['EEName_TEST'].str.contains('Name:').ffill()&lt;/P&gt;
&lt;P&gt;This gives me a boolean result but I still can't figure out what I'm missing to actually fill in the names and haven't been able to find a good solution yet. Any thoughts would be greatly appreciated!&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 13:47:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pandas-forward-fill-based-on-keyword/m-p/17192#M11226</guid>
      <dc:creator>WhatIsHappening</dc:creator>
      <dc:date>2021-07-28T13:47:43Z</dc:date>
    </item>
  </channel>
</rss>

