In [10]:
FirstOrder=FirstOrder.dt.strftime('%Y-%m')
FirstOrder.head()
Out[10]:
UserId
47     2009-01
95     2009-03
98     2009-01
112    2009-01
141    2009-11
Name: OrderDate, dtype: object