I have a pandas Data Frame that looks like this:
+------+------------+-----------+
| FIPS |    Date    | Confirmed |
+------+------------+-----------+
|   66 | 04/02/2020 |        82 |
|   66 | 04/03/2020 |        84 |
|   66 | 04/04/2020 |        93 |
+------+------------+-----------+
I want to turn this into one row with the date appended to the confirmed column:
+------+--------------------+--------------------+--------------------+
| FIPS | Confirmed_20200402 | Confirmed_20200402 | Confirmed_20200402 |
+------+--------------------+--------------------+--------------------+
| 66   | 82                 | 84                 | 93                 |
+------+--------------------+--------------------+--------------------+
I tried to use pivot_table, however, that giving me a multi-index table which isn't what I want.
How can I go about getting my desired output?
 
     
     
    