You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [18]: df = pd.DataFrame([{"a": 1}, {"a": 3, "b": 2}])
In [19]: df['c'] = np.nan
In [21]: df.ix[0,'c'] = 'foo'
---------------------------------------------------------------------------
ValueError: could not convert string to float: f
The text was updated successfully, but these errors were encountered:
http://stackoverflow.com/questions/15704274/adding-new-column-to-pandas-dataframe-with-values-for-particular-items
The text was updated successfully, but these errors were encountered: