Skip to content
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

Expand Python Snippet to support internal use cases #99

Open
aswallace opened this issue May 13, 2024 · 0 comments
Open

Expand Python Snippet to support internal use cases #99

aswallace opened this issue May 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@aswallace
Copy link
Contributor

aswallace commented May 13, 2024

The current version of the Python Snippet only supports external use cases (data read from csv, json or parquet and converted to strings). However, it should also support internal use cases, where data is read from the AICS database and has different types.

In the "Code Snippet" modal:

  • Render the code to read data from AICS to pandas
  • Add support for range filters and sorting on non-string types (e.g., date, date-time, numerical)
  • Account for potential pandas type conversions: By default, pandas tries to make assumptions about dtypes when it creates a dataframe, which may conflict with our internal types.

Originally posted by @SeanLeRoy in #80 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants