Hello everyone,
I have a dataset: Suicde Data from 1985 until 2016.
For the year 2016 there have been not so many sufficient records so I want to delete all entries from year 2016. Which means in the excel file I want to get rid of all rows where the first column has the value 2016.
OriginalData =
Import[FileNameJoin[{NotebookDirectory[], "suicide.xlsx"}]][[1]];
Export[FileNameJoin[{NotebookDirectory[], "suicide.mx"}], OriginalData]
suicide2 =
Import[FileNameJoin[{NotebookDirectory[],
"suicide.mx"}]];
suicide = Drop[suicide2[All], "2016"] (*With this command I intended to remove the lines from the data "suicide2", but it did not work.*)
Could you please let me know how to remove all entries from the year 2016? I have attached the xlsx file.
Thank you very much in advance!
Attachments: