| <html> | |
| <head> | |
| <title>CSV Data Report</title> | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| margin: 20px; | |
| } | |
| table { | |
| border-collapse: collapse; | |
| width: 100%; | |
| margin-bottom: 20px; | |
| } | |
| th, td { | |
| border: 1px solid #ddd; | |
| padding: 8px; | |
| text-align: right; | |
| } | |
| th { | |
| background-color: #f2f2f2; | |
| } | |
| .total-row { | |
| font-weight: bold; | |
| background-color: #e6e6e6; | |
| } | |
| h1 { | |
| color: #333; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <h1>CSV Data Report</h1> | |
| <h2>Raw Data</h2> | |
| <table border="1" class="dataframe table"> | |
| <thead> | |
| <tr style="text-align: right;"> | |
| <th>Product</th> | |
| <th>Electronics</th> | |
| <th>Clothing</th> | |
| <th>Food</th> | |
| <th>Books</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <tr> | |
| <td>January</td> | |
| <td>1200</td> | |
| <td>800</td> | |
| <td>500</td> | |
| <td>300</td> | |
| </tr> | |
| <tr> | |
| <td>February</td> | |
| <td>950</td> | |
| <td>750</td> | |
| <td>600</td> | |
| <td>400</td> | |
| </tr> | |
| <tr> | |
| <td>March</td> | |
| <td>1500</td> | |
| <td>900</td> | |
| <td>550</td> | |
| <td>350</td> | |
| </tr> | |
| <tr> | |
| <td>April</td> | |
| <td>1100</td> | |
| <td>850</td> | |
| <td>450</td> | |
| <td>250</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| <h2>Column Totals</h2> | |
| <table> | |
| <tr> | |
| <th>Electronics</th> | |
| <th>Clothing</th> | |
| <th>Food</th> | |
| <th>Books</th> | |
| </tr> | |
| <tr class="total-row"> | |
| <td>4,750.00</td> | |
| <td>3,300.00</td> | |
| <td>2,100.00</td> | |
| <td>1,300.00</td> | |
| </tr> | |
| </table> | |
| </body> | |
| </html> |