Write SMILES to SDF in RDKit
You must give the output file a name: 'pp_out.sdf'

With a smiles-file like

c1ccccc1O,Phenol
CCO,Ethanol


this works for me

import pandas as pd
from rdkit.Chem import PandasTools
pp = pd.read_csv('anti.smiles', names=['Smiles', 'BA']) 
PandasTools.AddMoleculeColumnToFrame(pp,'Smiles','Molecule') # pp = doesn't work for me
PandasTools.WriteSDF(pp, 'pp_out.sdf', molColName='Molecule', properties=list(pp.columns))


and gives me this SDF

     RDKit          2D

  7  7  0  0  0  0  0  0  0  0999 V2000
    1.5000    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
    0.7500   -1.2990    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   -0.7500   -1.2990    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   -1.5000    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   -0.7500    1.2990    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
    0.7500    1.2990    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
    1.5000    2.5981    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0
  1  2  2  0
  2  3  1  0
  3  4  2  0
  4  5  1  0
  5  6  2  0
  6  7  1  0
  6  1  1  0
M  END
&gt;  &lt;Smiles&gt;  (1) 
c1ccccc1O

&gt;  &lt;BA&gt;  (1) 
Phenol

$$$$

     RDKit          2D

  3  2  0  0  0  0  0  0  0  0999 V2000
    0.0000    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
    1.2990    0.7500    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
    2.5981   -0.0000    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0
  1  2  1  0
  2  3  1  0
M  END
&gt;  &lt;Smiles&gt;  (2) 
CCO

&gt;  &lt;BA&gt;  (2) 
Ethanol

$$$$