title: Using cleanco on dataframe column
body: <p>I am trying to create a script to clean company names using cleanco module in Python. </p>
  
  <p>cleanco has an example which is as follows:</p>
  
  <pre><code>business_name = "Some Big Pharma, LLC"
  x = cleanco(business_name)
  x.clean_name()
  </code></pre>
  
  <p>which results in "Some Big Pharma".</p>
  
  <p>I am trying to do the same for a column in a pandas data frame.</p>
  
  <p>So far my code is:</p>
  
  <pre><code>#Importing Packages
  
  import pandas as pd
  from cleanco import cleanco
  
  #Create a data frame for testing purposes
  
  columns = ['emp'] #Define column names
  new_col = ['emp2'] #Define column names for second dataframe
  
  
  df=pd.DataFrame(columns=columns) #Create an empty data frame
  df2=pd.DataFrame(columns=new_col)
  
  
  df['emp'] = ['ABC, Inc.', 'XYZ LTD']#populate the data frame with dummy values
  
  df["emp"] = [x.strip().replace('.','').replace('''''', '').replace('-', '').replace(',','') for x in df['emp'].str.lower()]
  
  df2['emp2'] = df['emp'].apply(cleanco,1)
  
  df['emp'].apply(cleanco.clean_name()) #This is where the error lies
  </code></pre>
  
  <p>I am having trouble calling the <em>clean_name</em> function.</p>
  
  <p>my first data frame:</p>
  
  <p>0 ABC, Inc.</p>
  
  <p>1 XYZ LTD</p>
  
  <p>I want df2 to look like:</p>
  
  <p>0 abc</p>
  
  <p>1 xyz</p>