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 a0614f3 commit ae5365dCopy full SHA for ae5365d
tests/test_excel_converters.py
@@ -0,0 +1,9 @@
1
+from functools import partial
2
+import pandas as pd
3
+from typing_extensions import assert_type
4
+
5
+partial_func = partial(pd.to_datetime, errors="coerce")
6
7
+df = pd.read_excel("foo.xlsx", converters={"field_1": partial_func})
8
9
+assert_type(df, pd.DataFrame)
0 commit comments