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
Not sure if this intentional but if you join on a row number with mode full-outer it create a column called '#' with None as the value.
from dataflows import Flow, join data1 = [ {"col1": 1}, {"col1": 2}, {"col1": 3}, ] data2 = [ {"col2": 1}, {"col2": 2}, {"col2": 3}, ] def test_join(): flows = [ data2, data1, join( "res_1", "{#}", "res_2", "{#}", fields={"col2": {"name": "col2"}}, source_delete=True, mode="full-outer", ), ] rows, datapackage, _ = Flow(*flows).results() print(rows) assert rows == [ [{"col1": 1, "col2": 1}, {"col1": 2, "col2": 2}, {"col1": 3, "col2": 3}] ]
[[{'col1': 1, '#': None, 'col2': 1}, {'col1': 2, '#': None, 'col2': 2}, {'col1': 3, '#': None, 'col2': 3}]]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Not sure if this intentional but if you join on a row number with mode full-outer it create a column called '#' with None as the value.
The text was updated successfully, but these errors were encountered: