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
In the Loading the data section of the tutorial, the code for the computation of new columns is:
emissions = emissions.compute([ (agate.Formula(agate.Number(), lambda r: r[' Date'].day), 'day'), (agate.Formula(agate.Number(), lambda r: r[' SO2 (tons)'] or 0), 'so2'), (agate.Formula(agate.Number(), lambda r: r[' NOx (tons)'] or 0), 'nox'), (agate.Formula(agate.Number(), lambda r: r[' CO2 (short tons)'] or 0), 'co2') ])
while the column name and the computation should be switched:
emissions = emissions.compute([ ('day', agate.Formula(agate.Number(), lambda r: r[' Date'].day)), ('so2', agate.Formula(agate.Number(), lambda r: r[' SO2 (tons)'] or 0)), ('nox', agate.Formula(agate.Number(), lambda r: r[' NOx (tons)'] or 0)), ('co2', agate.Formula(agate.Number(), lambda r: r[' CO2 (short tons)'] or 0)) ])
The text was updated successfully, but these errors were encountered:
2c15de4
No branches or pull requests
In the Loading the data section of the tutorial, the code for the computation of new columns is:
while the column name and the computation should be switched:
The text was updated successfully, but these errors were encountered: