a97fdd899ea41bf867f81c2214b6547958c1d466,lore/transformers.py,EmailDomain,transform,#EmailDomain#Any#,115
Before Change
NAIVE = re.compile(r"^[^@]+@(.+)$", re.UNICODE)
def transform(self, data):
domains = data[self.column].str.extract(EmailDomain.NAIVE, expand=False)
domains[domains.isnull()] = ""
return domains
After Change
NAIVE = re.compile(r"^[^@]+@(.+)$", re.UNICODE)
def transform(self, data):
domains = self.series(data).str.extract(EmailDomain.NAIVE, expand=False)
domains[domains.isnull()] = ""
return domains
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: instacart/lore
Commit Name: a97fdd899ea41bf867f81c2214b6547958c1d466
Time: 2018-01-25
Author: montanalow@users.noreply.github.com
File Name: lore/transformers.py
Class Name: EmailDomain
Method Name: transform
Project Name: instacart/lore
Commit Name: a97fdd899ea41bf867f81c2214b6547958c1d466
Time: 2018-01-25
Author: montanalow@users.noreply.github.com
File Name: lore/transformers.py
Class Name: NameFamilial
Method Name: transform
Project Name: instacart/lore
Commit Name: a97fdd899ea41bf867f81c2214b6547958c1d466
Time: 2018-01-25
Author: montanalow@users.noreply.github.com
File Name: lore/transformers.py
Class Name: DateTime
Method Name: transform
Project Name: instacart/lore
Commit Name: a97fdd899ea41bf867f81c2214b6547958c1d466
Time: 2018-01-25
Author: montanalow@users.noreply.github.com
File Name: lore/transformers.py
Class Name: AreaCode
Method Name: transform
Project Name: instacart/lore
Commit Name: a97fdd899ea41bf867f81c2214b6547958c1d466
Time: 2018-01-25
Author: montanalow@users.noreply.github.com
File Name: lore/transformers.py
Class Name: Age
Method Name: transform