Convert Excel to Pandas DataFrame
Contents
[
Hide
]
Using Aspose.Cells for Python via .NET API, you can you can convert Excel, TSV, CSV, Json and many different formats to pandas DataFrame.
Convert Excel to Pandas DataFrame via json data
Here’s an example code snippet to demonstrate how to export excel data to a pandas DataFrame via json data using Aspose.Cells for Python via .NET:
- Create a Workbook and add some values.
- Export excel data to JSON string.
- Use the pandas library to read JSON data.
Convert Pandas DataFrame to Excel directly
Here’s an example code snippet to demonstrate how to export excel data to a pandas DataFrame directly using Aspose.Cells for Python via .NET:
- Create a Workbook and add some values.
- Traverse excel data and export data to Pandas DataFrame using Aspose.Cells for Python via .NET.