We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 385f5f0 commit 75a1268Copy full SHA for 75a1268
pandas/io/formats/excel.py
@@ -566,7 +566,7 @@ def __init__(
566
if cols is not None:
567
# all missing, raise
568
if not len(Index(cols).intersection(df.columns)):
569
- raise KeyError("passes columns are not ALL present dataframe")
+ raise KeyError("Passed columns are not ALL present dataframe")
570
571
if len(Index(cols).intersection(df.columns)) != len(set(cols)):
572
# Deprecated in GH#17295, enforced in 1.0.0
pandas/tests/io/formats/test_to_excel.py
@@ -10,6 +10,8 @@
10
import numpy as np
11
import pytest
12
13
+pytest.importorskip("jinja2")
14
+
15
from pandas.errors import CSSWarning
16
17
from pandas import (
0 commit comments