Skip to content

Instantly share code, notes, and snippets.

@kojix2
Created March 8, 2019 02:03
Show Gist options
  • Select an option

  • Save kojix2/cc2e3a2486deef01b87eca1aa5393be4 to your computer and use it in GitHub Desktop.

Select an option

Save kojix2/cc2e3a2486deef01b87eca1aa5393be4 to your computer and use it in GitHub Desktop.
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