Add a row to dataframe

from pandas import DataFrame as df  
mydf = df([1.1, 1.1, 1.1]).T  
arow2 = [2.2, 2.2, 2.2]  
mydf.loc[len(mydf)] = arow2  
print(mydf)
import pandas as pd
mydf = pd.DataFrame([1.1, 1.1, 1.1]).T  
arow2 = [2.2, 2.2, 2.2]  
mydf.loc[len(mydf)] = arow2  
print(mydf)