<gh_stars>1-10
EXPECTED_TABULATED_HTML = """
<table>
    <thead>
        <tr>
            <th>category</th>
            <th>date</th>
            <th>downloads</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td align="left">2.6</td>
            <td align="left">2018-08-15</td>
            <td align="right">51</td>
        </tr>
        <tr>
            <td align="left">2.7</td>
            <td align="left">2018-08-15</td>
            <td align="right">63,749</td>
        </tr>
        <tr>
            <td align="left">3.2</td>
            <td align="left">2018-08-15</td>
            <td align="right">2</td>
        </tr>
        <tr>
            <td align="left">3.3</td>
            <td align="left">2018-08-15</td>
            <td align="right">40</td>
        </tr>
        <tr>
            <td align="left">3.4</td>
            <td align="left">2018-08-15</td>
            <td align="right">6,095</td>
        </tr>
        <tr>
            <td align="left">3.5</td>
            <td align="left">2018-08-15</td>
            <td align="right">20,358</td>
        </tr>
        <tr>
            <td align="left">3.6</td>
            <td align="left">2018-08-15</td>
            <td align="right">35,274</td>
        </tr>
        <tr>
            <td align="left">3.7</td>
            <td align="left">2018-08-15</td>
            <td align="right">6,595</td>
        </tr>
        <tr>
            <td align="left">3.8</td>
            <td align="left">2018-08-15</td>
            <td align="right">3</td>
        </tr>
        <tr>
            <td align="left">null</td>
            <td align="left">2018-08-15</td>
            <td align="right">1,019</td>
        </tr>
    </tbody>
</table>
        """

EXPECTED_TABULATED_MD = """
| category |    date    | downloads |
|----------|------------|----------:|
| 2.6      | 2018-08-15 |        51 |
| 2.7      | 2018-08-15 |    63,749 |
| 3.2      | 2018-08-15 |         2 |
| 3.3      | 2018-08-15 |        40 |
| 3.4      | 2018-08-15 |     6,095 |
| 3.5      | 2018-08-15 |    20,358 |
| 3.6      | 2018-08-15 |    35,274 |
| 3.7      | 2018-08-15 |     6,595 |
| 3.8      | 2018-08-15 |         3 |
| null     | 2018-08-15 |     1,019 |
"""


EXPECTED_TABULATED_RST = """
.. table:: 

    ==========  ============  ===========
     category       date       downloads 
    ==========  ============  ===========
     2.6         2018-08-15           51 
     2.7         2018-08-15       63,749 
     3.2         2018-08-15            2 
     3.3         2018-08-15           40 
     3.4         2018-08-15        6,095 
     3.5         2018-08-15       20,358 
     3.6         2018-08-15       35,274 
     3.7         2018-08-15        6,595 
     3.8         2018-08-15            3 
     null        2018-08-15        1,019 
    ==========  ============  ===========
"""  # noqa: W291

EXPECTED_TABULATED_TSV = """
"category" \t "date" \t "downloads" 
 "2.6" \t "2018-08-15" \t 51 
 "2.7" \t "2018-08-15" \t 63,749 
 "3.2" \t "2018-08-15" \t 2 
 "3.3" \t "2018-08-15" \t 40 
 "3.4" \t "2018-08-15" \t 6,095 
 "3.5" \t "2018-08-15" \t 20,358 
 "3.6" \t "2018-08-15" \t 35,274 
 "3.7" \t "2018-08-15" \t 6,595 
 "3.8" \t "2018-08-15" \t 3 
 "null" \t "2018-08-15" \t 1,019 
"""  # noqa: W291

EXPECTED_TABULATED_HTML = """
<table>
    <thead>
        <tr>
            <th>category</th>
            <th>date</th>
            <th>downloads</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td align="left">2.6</td>
            <td align="left">2018-08-15</td>
            <td align="right">51</td>
        </tr>
        <tr>
            <td align="left">2.7</td>
            <td align="left">2018-08-15</td>
            <td align="right">63,749</td>
        </tr>
        <tr>
            <td align="left">3.2</td>
            <td align="left">2018-08-15</td>
            <td align="right">2</td>
        </tr>
        <tr>
            <td align="left">3.3</td>
            <td align="left">2018-08-15</td>
            <td align="right">40</td>
        </tr>
        <tr>
            <td align="left">3.4</td>
            <td align="left">2018-08-15</td>
            <td align="right">6,095</td>
        </tr>
        <tr>
            <td align="left">3.5</td>
            <td align="left">2018-08-15</td>
            <td align="right">20,358</td>
        </tr>
        <tr>
            <td align="left">3.6</td>
            <td align="left">2018-08-15</td>
            <td align="right">35,274</td>
        </tr>
        <tr>
            <td align="left">3.7</td>
            <td align="left">2018-08-15</td>
            <td align="right">6,595</td>
        </tr>
        <tr>
            <td align="left">3.8</td>
            <td align="left">2018-08-15</td>
            <td align="right">3</td>
        </tr>
        <tr>
            <td align="left">null</td>
            <td align="left">2018-08-15</td>
            <td align="right">1,019</td>
        </tr>
    </tbody>
</table>
        """

EXPECTED_TABULATED_MD = """
| category |    date    | downloads |
|----------|------------|----------:|
| 2.6      | 2018-08-15 |        51 |
| 2.7      | 2018-08-15 |    63,749 |
| 3.2      | 2018-08-15 |         2 |
| 3.3      | 2018-08-15 |        40 |
| 3.4      | 2018-08-15 |     6,095 |
| 3.5      | 2018-08-15 |    20,358 |
| 3.6      | 2018-08-15 |    35,274 |
| 3.7      | 2018-08-15 |     6,595 |
| 3.8      | 2018-08-15 |         3 |
| null     | 2018-08-15 |     1,019 |
"""


EXPECTED_TABULATED_RST = """
.. table:: 

    ==========  ============  ===========
     category       date       downloads 
    ==========  ============  ===========
     2.6         2018-08-15           51 
     2.7         2018-08-15       63,749 
     3.2         2018-08-15            2 
     3.3         2018-08-15           40 
     3.4         2018-08-15        6,095 
     3.5         2018-08-15       20,358 
     3.6         2018-08-15       35,274 
     3.7         2018-08-15        6,595 
     3.8         2018-08-15            3 
     null        2018-08-15        1,019 
    ==========  ============  ===========
"""  # noqa: W291

EXPECTED_TABULATED_TSV = """
"category" \t "date" \t "downloads" 
 "2.6" \t "2018-08-15" \t 51 
 "2.7" \t "2018-08-15" \t 63,749 
 "3.2" \t "2018-08-15" \t 2 
 "3.3" \t "2018-08-15" \t 40 
 "3.4" \t "2018-08-15" \t 6,095 
 "3.5" \t "2018-08-15" \t 20,358 
 "3.6" \t "2018-08-15" \t 35,274 
 "3.7" \t "2018-08-15" \t 6,595 
 "3.8" \t "2018-08-15" \t 3 
 "null" \t "2018-08-15" \t 1,019 
"""  # noqa: W291
<table>     <thead>         <tr>             <th>category</th>             <th>date</th>             <th>downloads</th>         </tr>     </thead>     <tbody>         <tr>             <td align="left">2.6</td>             <td align="left">2018-08-15</td>             <td align="right">51</td>         </tr>         <tr>             <td align="left">2.7</td>             <td align="left">2018-08-15</td>             <td align="right">63,749</td>         </tr>         <tr>             <td align="left">3.2</td>             <td align="left">2018-08-15</td>             <td align="right">2</td>         </tr>         <tr>             <td align="left">3.3</td>             <td align="left">2018-08-15</td>             <td align="right">40</td>         </tr>         <tr>             <td align="left">3.4</td>             <td align="left">2018-08-15</td>             <td align="right">6,095</td>         </tr>         <tr>             <td align="left">3.5</td>             <td align="left">2018-08-15</td>             <td align="right">20,358</td>         </tr>         <tr>             <td align="left">3.6</td>             <td align="left">2018-08-15</td>             <td align="right">35,274</td>         </tr>         <tr>             <td align="left">3.7</td>             <td align="left">2018-08-15</td>             <td align="right">6,595</td>         </tr>         <tr>             <td align="left">3.8</td>             <td align="left">2018-08-15</td>             <td align="right">3</td>         </tr>         <tr>             <td align="left">null</td>             <td align="left">2018-08-15</td>             <td align="right">1,019</td>         </tr>     </tbody> </table> | category |    date    | downloads | |----------|------------|----------:| | 2.6      | 2018-08-15 |        51 | | 2.7      | 2018-08-15 |    63,749 | | 3.2      | 2018-08-15 |         2 | | 3.3      | 2018-08-15 |        40 | | 3.4      | 2018-08-15 |     6,095 | | 3.5      | 2018-08-15 |    20,358 | | 3.6      | 2018-08-15 |    35,274 | | 3.7      | 2018-08-15 |     6,595 | | 3.8      | 2018-08-15 |         3 | | null     | 2018-08-15 |     1,019 | .. table::       ==========  ============  ===========      category       date       downloads      ==========  ============  ===========      2.6         2018-08-15           51       2.7         2018-08-15       63,749       3.2         2018-08-15            2       3.3         2018-08-15           40       3.4         2018-08-15        6,095       3.5         2018-08-15       20,358       3.6         2018-08-15       35,274       3.7         2018-08-15        6,595       3.8         2018-08-15            3       null        2018-08-15        1,019      ==========  ============  =========== # noqa: W291 "category" \t "date" \t "downloads"   "2.6" \t "2018-08-15" \t 51   "2.7" \t "2018-08-15" \t 63,749   "3.2" \t "2018-08-15" \t 2   "3.3" \t "2018-08-15" \t 40   "3.4" \t "2018-08-15" \t 6,095   "3.5" \t "2018-08-15" \t 20,358   "3.6" \t "2018-08-15" \t 35,274   "3.7" \t "2018-08-15" \t 6,595   "3.8" \t "2018-08-15" \t 3   "null" \t "2018-08-15" \t 1,019 # noqa: W291