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

Added ability to return pandas dataframes from SparkSQL for Python and Scala #20

Merged
merged 10 commits into from
Oct 2, 2015
Merged

Conversation

aggFTW
Copy link
Contributor

@aggFTW aggFTW commented Oct 1, 2015

With unit tests. Also, made unit tests run faster.

Alejandro Guerrero Gonzalez added 9 commits September 29, 2015 19:08
Pandas df is now returned for sql pyspark
It did not display before because magic was not returning it.
1. Create pandas df for scala and pyspark with one call only
2. Create sqlContext from session start
3. If there are no rows, no schema is shown :( We could detect that and
default to previous two call method.

Need to fix unit tests. Going to sleep row now
Need to add unit tests for new functionality
@aggFTW
Copy link
Contributor Author

aggFTW commented Oct 1, 2015

Closes #9. Closes #15.


.idea/sparkmagic.iml

.idea/workspace.xml
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor nitpick: these can all be combined to .idea/*

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks!

Execution always returns result.
Combined .gitignore entries.
@aggFTW
Copy link
Contributor Author

aggFTW commented Oct 1, 2015

With this last commit, I think we are good for now, unless you have more comments on the previous points. Please take a look @alope107. Thank you!

@alope107
Copy link
Contributor

alope107 commented Oct 2, 2015

I have the mentioned minor nitpicks, but I don't think they need to be included in this PR. Looks good to me.

aggFTW added a commit that referenced this pull request Oct 2, 2015
Added ability to return pandas dataframes from SparkSQL for Python and Scala
@aggFTW aggFTW merged commit 8afab25 into jupyter-incubator:master Oct 2, 2015
@aggFTW aggFTW deleted the visualpipeline2 branch October 2, 2015 21:45
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

Successfully merging this pull request may close these issues.

None yet

2 participants