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

Python runner does not show result output #40

Closed
lresende opened this issue Oct 26, 2019 · 0 comments
Closed

Python runner does not show result output #40

lresende opened this issue Oct 26, 2019 · 0 comments
Assignees
Labels
component:python-editor Python editor kind:bug Something isn't working
Milestone

Comments

@lresende
Copy link
Member

The following sample code results in nothing when running from python runner

import io
import requests
import pandas as pd

def df_from_url(url):
    data = requests.get(url).content
    df = pd.read_csv(io.StringIO(data.decode('utf-8')))
    return df

df = df_from_url('http://samplecsvs.s3.amazonaws.com/Sacramentorealestatetransactions.csv')
df['price'].mean()
@lresende lresende added kind:bug Something isn't working component:python-editor Python editor labels Oct 26, 2019
@lresende lresende added this to the 0.1 milestone Oct 26, 2019
@lresende lresende self-assigned this Oct 26, 2019
harshad16 pushed a commit to harshad16/elyra that referenced this issue Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:python-editor Python editor kind:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant