from bs4 import BeautifulSoup
data = """
<table class="drug-table data-table table table-condensed table-bordered">
    <tr>
        <td>test</td>
    </tr>
</table>
"""
soup = BeautifulSoup(data)
How to match a particular tag through css selectors where the class attribute contains spaces?