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

Add an expand transform #511

Open
ahuang11 opened this issue Nov 2, 2023 · 0 comments
Open

Add an expand transform #511

ahuang11 opened this issue Nov 2, 2023 · 0 comments

Comments

@ahuang11
Copy link
Contributor

ahuang11 commented Nov 2, 2023

It might already exist, but I'm just trying to subset the KCMI column before it becomes a DataFrame

sources:
  aviation_source:
    type: json
    tables:
      kcmi_chart: https://api.aviationapi.com/v1/charts?apt=KCMI
 
layouts:
  - title: Aviation
    source: aviation_source
    views:
      - type: hvplot_ui
        table: kcmi_chart

Like

import requests
import pandas as pd
pd.DataFrame.from_records(requests.get("https://api.aviationapi.com/v1/airports?apt=KCMI").json()["KCMI"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant