Skip to content

Sorting dates - #1

Open
tarcnux wants to merge 1 commit into
nikhilkumarsingh:masterfrom
tarcnux:master
Open

Sorting dates#1
tarcnux wants to merge 1 commit into
nikhilkumarsingh:masterfrom
tarcnux:master

Conversation

@tarcnux

@tarcnux tarcnux commented Jul 7, 2019

Copy link
Copy Markdown

sorting dates

a = np.array(['2017-02-12', '2016-10-13', '2019-05-22'], dtype='datetime64')

a.sort
a

np.flip(a,0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant