Skip to content

Commit

Permalink
Fix ruff?
Browse files Browse the repository at this point in the history
 On branch feature/mkdocs-jupyter
 Changes to be committed:
	modified:   quinn/split_columns.py
  • Loading branch information
SemyonSinchenko committed Dec 10, 2023
1 parent 21432ef commit 1520477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quinn/split_columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _num_delimiter(col_value1: str) -> int:
elif mode == "permissive":
# Create an array of select expressions to create new columns from the split values
# Use the default value if a split value is missing or empty
select_exprs = select_exprs = [
select_exprs = select_exprs = [ # noqa: PLW0127
when(length(split_col_expr.getItem(i)) > 0, split_col_expr.getItem(i))
.otherwise(default)
.alias(new_col_names[i])
Expand Down

0 comments on commit 1520477

Please sign in to comment.