2 of 2 format the code

If it's Product attributes Navigation in admin for delete Stores->Attributes click on Products here you can see all attributes just click on your select attribute and click on delete attribute button.