We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66e0da6 commit f8a361fCopy full SHA for f8a361f
1 file changed
tests/databricks_ai_bridge/test_genie.py
@@ -482,7 +482,7 @@ def markdown_to_dataframe(markdown_str: str) -> pd.DataFrame:
482
483
# Strip whitespace from column names and values
484
df.columns = [col.strip() for col in df.columns]
485
- df = df.applymap(lambda x: x.strip() if isinstance(x, str) else x)
+ df = df.map(lambda x: x.strip() if isinstance(x, str) else x)
486
487
# Drop the first column
488
df = df.drop(columns=[df.columns[0]])
0 commit comments