Woring with datetime objects in Numpy and Pandas and core Python

import datetime
e = np.array(['2017-01-01', '2017-01-02', '2017-01-03'],dtype='datetime64')
t = e[0]
day = t.astype(datetime.datetime).isoweekday()

Comments

Popular posts from this blog

How to create an organizational chart in your webpage using Google Organization Chart Tools