In favour of data science bootcamp:
detailed deep dive into multiple topics
access to mentors
networking opportunities
hands on learning
group discussions

In favour of online course:
financially feasible
easier to drop out if you dont like it
lesser time investment
option to do multiple courses