In [11]:
import pandas as pd
import numpy as np
df = pd.DataFrame({'id' : range(1,9),
                   'value': [2,3,4,5,6,7,8,np.nan]},  columns= ['id','value'])

In [12]:
print df
df.columns = ['a', 'b']
print df


   id  value
0   1      2
1   2      3
2   3      4
3   4      5
4   5      6
5   6      7
6   7      8
7   8    NaN

[8 rows x 2 columns]
   a   b
0  1   2
1  2   3
2  3   4
3  4   5
4  5   6
5  6   7
6  7   8
7  8 NaN

[8 rows x 2 columns]

In [13]:
print df.dtypes


a      int64
b    float64
dtype: object

In [22]:
sentence = """Something stupid"""
sentence.replace("\"\"", 'HERO')

print sentence

In [ ]:
for time