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

pyoso virtual dataframes #3240

Open
ryscheng opened this issue Mar 12, 2025 · 1 comment
Open

pyoso virtual dataframes #3240

ryscheng opened this issue Mar 12, 2025 · 1 comment

Comments

@ryscheng
Copy link
Member

What is it?

Lazy evaluated models. We should also explore integrations with pyspark

df = client.query(“””
  WITH cte AS (
    SELECT …
  )
  SELECT … FROM metrics_v0 JOIN … ON … WHERE …
“””)
df = df.groupby(...).agg(...).rename(...)
df = df[df[‘days_active’] > 1]
model_meta = df.save(“oso://username/my_model_name”)

Copy link

linear bot commented Mar 12, 2025

@github-project-automation github-project-automation bot moved this to Backlog in OSO Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant