We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nw.all()
Pyspark reductions do not preserve original root name when applied to nw.all().
I am tempted to say that the issue is in this line. However I could not manage to fix it without breaking the code elsewhere so far 🙈
Running:
df.select(nw.all().n_unique())
with a lazyframe backed by pyspark DataFrame, will result in a column named (count(DISTINCT a) + max(CAST((a IS NULL) AS INT))).
(count(DISTINCT a) + max(CAST((a IS NULL) AS INT)))
Original names to be preserved
Pyspark expression names
Latest
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
Pyspark reductions do not preserve original root name when applied to
nw.all()
.I am tempted to say that the issue is in this line. However I could not manage to fix it without breaking the code elsewhere so far 🙈
Steps or code to reproduce the bug
Running:
with a lazyframe backed by pyspark DataFrame, will result in a column named
(count(DISTINCT a) + max(CAST((a IS NULL) AS INT)))
.Expected results
Original names to be preserved
Actual results
Pyspark expression names
Please run narwhals.show_version() and enter the output below.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: