Consider we have the following dataframe
myDF = DataFrame(np.random.randn(4,2), index= [[1,1,2,2],['Mon','Tue','Mon','Tue']])
myDF
0 1
1 Mon -0.910930 1.592856
Tue -0.167228 -0.763317
2 Mon -0.926121 -0.718729
Tue 0.372288 -0.417337
If i want change the values of the first column for all rows in index 1, i try doing this:
myDF.ix[1,:][0] = 99
But that doesn't work and returns the same DataFrame unchanged. What am I missing. Thank you