With Pandas (+1)
With Pandas
import pandas as pd
df = pd.DataFrame({
'Name': ['Alice', 'Bob', 'Charlie'],
'Sales': [1000, 1500, 1200],
'Region': ['East', 'West', 'North']
})
# Simple export
*See sub-skills for full details.*
## With Openpyxl (Formulas)
```python
from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill, Alignment
from openpyxl.utils import get_column_letter
wb = Workbook()
ws = wb.active
ws.title = "Financial Model"
# Headers
*See sub-skills for full details.*