import pandas as pd

# read JSON from file
df = pd.read_json('data.json')
print(df)

# write JSON to csv file
df.to_csv("data.csv")

# read csv file into dataframe
df2 = pd.read_csv("data.csv")

# save dataframe to new JSON file
df2.to_json("data2.json")


09573e8af4d368676afb45a1352e307233c7c0ec
<mask token>

<mask token>
print(df)
df.to_csv('data.csv')
<mask token>
df2.to_json('data2.json')

<mask token>
df = pd.read_json('data.json')
print(df)
df.to_csv('data.csv')
df2 = pd.read_csv('data.csv')
df2.to_json('data2.json')

import pandas as pd
df = pd.read_json('data.json')
print(df)
df.to_csv('data.csv')
df2 = pd.read_csv('data.csv')
df2.to_json('data2.json')

import pandas as pd

# read JSON from file
df = pd.read_json('data.json')
print(df)

# write JSON to csv file
df.to_csv("data.csv")

# read csv file into dataframe
df2 = pd.read_csv("data.csv")

# save dataframe to new JSON file
df2.to_json("data2.json")

