df = pd.DataFrame(data)
sheet = df.to_json <-- ?
$ python
Python 3.10.2 (main, Mar 8 2022, 23:56:15) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas as pd
>>> df = pd.DataFrame([[1,2,3],[3,4,5]])
>>> df
0 1 2
0 1 2 3
1 3 4 5
>>> df.values.tolist()
[[1, 2, 3], [3, 4, 5]]