Mmmyeah... Deadfire is a league above in a number of departments compared to DoS 2.
Wait, you think so? I'm used to people saying it the other way around, but I haven't played DOS 1 or 2.
I would say they're on par if you like turn based combat. Both have good stories, interesting characters and lots to explore. Obsidian as well as Larian belong to my favorite companies. Never been disappointed by either one.