Merge pull request #115 from Haksell/suggest33

Remove superfluous second argument in answer 33
This commit is contained in:
Nicolas P. Rougier
2020-05-03 10:09:33 +02:00
committed by GitHub

View File

@@ -393,9 +393,9 @@ How to get the dates of yesterday, today and tomorrow? (★☆☆)
hint: np.datetime64, np.timedelta64 hint: np.datetime64, np.timedelta64
< a33 < a33
yesterday = np.datetime64('today', 'D') - np.timedelta64(1, 'D') yesterday = np.datetime64('today') - np.timedelta64(1)
today = np.datetime64('today', 'D') today = np.datetime64('today')
tomorrow = np.datetime64('today', 'D') + np.timedelta64(1, 'D') tomorrow = np.datetime64('today') + np.timedelta64(1)
< q34 < q34
How to get all the dates corresponding to the month of July 2016? (★★☆) How to get all the dates corresponding to the month of July 2016? (★★☆)