Skip to content

Fixed ads dataset key error #1152

New issue

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

Merged
merged 2 commits into from
Apr 14, 2025
Merged

Fixed ads dataset key error #1152

merged 2 commits into from
Apr 14, 2025

Conversation

lu-ohai
Copy link
Member

@lu-ohai lu-ohai commented Apr 11, 2025

Fixed ads dataset key error

Screenshot 2025-04-10 at 8 57 46 PM

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 11, 2025
Copy link
Member

@darenr darenr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Lu. I am pretty sure the code that broke was something I wrote long ago :)

Copy link

📌 Cov diff with main:

No lines with coverage information in this diff.

📌 Overall coverage:

Coverage-58.62%

"last": desc["last"],
"mode": desc["top"],
"unique percentage": 100 * series.nunique() / series.size,
"first": desc["first"] if "first" in desc else None,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't we use .get()?

"first": desc.get("first"),

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrote this just in case the desc doesn't have a get method, but if it always does I can change this to get

@mrDzurb mrDzurb merged commit 5b319c8 into main Apr 14, 2025
20 of 21 checks passed
Copy link

📌 Cov diff with main:

No lines with coverage information in this diff.

📌 Overall coverage:

Coverage-58.59%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants