You shouldn't need to specify END in add_row. As far as I can tell, from the documentation, you should be able to do this to add the data to the end.
table.add_row(my_data)
Having looked at your code, you're trying to add a dictionary to something that's expecting a list. Do this instead:
table.add_row([my_name, my_class, my_mark, my_gender, my_address, my_hostel])