Should a skeleton stand in for the entire component or just the part that’s loading?

I have a table. Should I show the table's title and column headers and only have the skeleton represent the rows before they load or should I have the skeleton replace the entire table and show all of it at once once the rows load?