What is the best practice for data table filters?

For best user experience, what is the best practice for data table filters with 10+ columns ?

User's Goal:

The user is trying to filter the list using of various filter types dates, number and keywords. Their end goal is to export the filtered data in csv, pdf etc.

a) A seperate filter side or top panel (like in agile crm, trello)

enter image description here

b) Individual filter options for each table headers (like in excel)

enter image description here