Skip to content

Commit f8a361f

Browse files
committed
applymap
1 parent 66e0da6 commit f8a361f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/databricks_ai_bridge/test_genie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ def markdown_to_dataframe(markdown_str: str) -> pd.DataFrame:
482482

483483
# Strip whitespace from column names and values
484484
df.columns = [col.strip() for col in df.columns]
485-
df = df.applymap(lambda x: x.strip() if isinstance(x, str) else x)
485+
df = df.map(lambda x: x.strip() if isinstance(x, str) else x)
486486

487487
# Drop the first column
488488
df = df.drop(columns=[df.columns[0]])

0 commit comments

Comments
 (0)