from openpyxl.utils import dataframe, get_column_letter code example
Example: ImportError: cannot import name 'get_column_letter' openpyxl
try:
from openpyxl.cell import get_column_letter
except ImportError:
from openpyxl.utils import get_column_letter