Created
March 8, 2019 02:03
-
-
Save kojix2/3d0416a034e91565bfa9751a17d4cf3b to your computer and use it in GitHub Desktop.
pycall_seaborn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'pycall' | |
require 'pycall/import' | |
include PyCall::Import | |
require 'matplotlib/iruby' | |
Matplotlib::IRuby.activate | |
pyimport :pandas, as: :pd | |
pyimport :seaborn, as: :sns | |
url="https://raw.githubusercontent.com/pandas-dev/pandas/master/pandas/tests/data/iris.csv" | |
df = pd.read_csv(url) | |
sns.pairplot(df) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment