convert excel to json 1

convert excel to json

#pip install excel2json-3
import excel2json

excel2json.convert_from_file('records.xlsx')

Here is what the above code is Doing:
1. It’s importing the excel2json module.
2. It’s calling the convert_from_file() function from the excel2json module.
3. It’s passing the name of the Excel file we want to convert to JSON (i.e., records.xlsx) as a parameter to the convert_from_file() function.

Similar Posts