In [32]: df = pd.DataFrame(np.random.rand(30, 3), columns=tuple('ABC'))
In [33]: df['event'] = np.nan
In [34]: df.dtypes
Out[34]:
A float64
B float64
C float64
event float64
dtype: object
In [35]: df.loc[10,'event'] = 'foo'
In [37]: df.dtypes
Out[37]:
A object
B object
C object
event object
dtype: object
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4