Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#converting 2D array into 1D array
notes_ = [element for note_ in notes_array for element in note_]
#No. of unique notes
unique_notes = list(set(notes_))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment