Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) in matplotlib
up vote
1
down vote
favorite
I am on ubuntu 18.04 and was trying to visualize the correlation matrix on the pandas data frame. Here is the code below
import pandas as pd
import numpy as np
import matplotlib
matplotlib.use('GTK3Agg')
import matplotlib.pyplot as plt
import seaborn as sns
data=pd.read_csv("/home/mv/PycharmProjects/pratice1/airfoil_self_noise.csv")
print(data.columns)
print(data.isnull().any().any())
print(data.isnull().sum().sum())
#plt.matshow(data.corr())
#plt.show()
f, ax = plt.subplots(figsize=(10, 8))
corr = data.corr()
sns.heatmap(corr, mask=np.zeros_like(corr, dtype=np.bool),
cmap=sns.diverging_palette(220, 10, as_cmap=True),
square=True, ax=ax)
plt.show()
but on executing the above code, it gives the following error -
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
matplotlib python-3.6 seaborn
add a comment |
up vote
1
down vote
favorite
I am on ubuntu 18.04 and was trying to visualize the correlation matrix on the pandas data frame. Here is the code below
import pandas as pd
import numpy as np
import matplotlib
matplotlib.use('GTK3Agg')
import matplotlib.pyplot as plt
import seaborn as sns
data=pd.read_csv("/home/mv/PycharmProjects/pratice1/airfoil_self_noise.csv")
print(data.columns)
print(data.isnull().any().any())
print(data.isnull().sum().sum())
#plt.matshow(data.corr())
#plt.show()
f, ax = plt.subplots(figsize=(10, 8))
corr = data.corr()
sns.heatmap(corr, mask=np.zeros_like(corr, dtype=np.bool),
cmap=sns.diverging_palette(220, 10, as_cmap=True),
square=True, ax=ax)
plt.show()
but on executing the above code, it gives the following error -
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
matplotlib python-3.6 seaborn
Can you show some data?
– Cleb
Nov 10 at 11:56
1
I am using this database for implementation archive.ics.uci.edu/ml/datasets/Airfoil+Self-Noise
– Mrinal Verma
Nov 10 at 11:57
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am on ubuntu 18.04 and was trying to visualize the correlation matrix on the pandas data frame. Here is the code below
import pandas as pd
import numpy as np
import matplotlib
matplotlib.use('GTK3Agg')
import matplotlib.pyplot as plt
import seaborn as sns
data=pd.read_csv("/home/mv/PycharmProjects/pratice1/airfoil_self_noise.csv")
print(data.columns)
print(data.isnull().any().any())
print(data.isnull().sum().sum())
#plt.matshow(data.corr())
#plt.show()
f, ax = plt.subplots(figsize=(10, 8))
corr = data.corr()
sns.heatmap(corr, mask=np.zeros_like(corr, dtype=np.bool),
cmap=sns.diverging_palette(220, 10, as_cmap=True),
square=True, ax=ax)
plt.show()
but on executing the above code, it gives the following error -
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
matplotlib python-3.6 seaborn
I am on ubuntu 18.04 and was trying to visualize the correlation matrix on the pandas data frame. Here is the code below
import pandas as pd
import numpy as np
import matplotlib
matplotlib.use('GTK3Agg')
import matplotlib.pyplot as plt
import seaborn as sns
data=pd.read_csv("/home/mv/PycharmProjects/pratice1/airfoil_self_noise.csv")
print(data.columns)
print(data.isnull().any().any())
print(data.isnull().sum().sum())
#plt.matshow(data.corr())
#plt.show()
f, ax = plt.subplots(figsize=(10, 8))
corr = data.corr()
sns.heatmap(corr, mask=np.zeros_like(corr, dtype=np.bool),
cmap=sns.diverging_palette(220, 10, as_cmap=True),
square=True, ax=ax)
plt.show()
but on executing the above code, it gives the following error -
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
matplotlib python-3.6 seaborn
matplotlib python-3.6 seaborn
asked Nov 10 at 11:53
Mrinal Verma
358
358
Can you show some data?
– Cleb
Nov 10 at 11:56
1
I am using this database for implementation archive.ics.uci.edu/ml/datasets/Airfoil+Self-Noise
– Mrinal Verma
Nov 10 at 11:57
add a comment |
Can you show some data?
– Cleb
Nov 10 at 11:56
1
I am using this database for implementation archive.ics.uci.edu/ml/datasets/Airfoil+Self-Noise
– Mrinal Verma
Nov 10 at 11:57
Can you show some data?
– Cleb
Nov 10 at 11:56
Can you show some data?
– Cleb
Nov 10 at 11:56
1
1
I am using this database for implementation archive.ics.uci.edu/ml/datasets/Airfoil+Self-Noise
– Mrinal Verma
Nov 10 at 11:57
I am using this database for implementation archive.ics.uci.edu/ml/datasets/Airfoil+Self-Noise
– Mrinal Verma
Nov 10 at 11:57
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238666%2fprocess-finished-with-exit-code-139-interrupted-by-signal-11-sigsegv-in-matpl%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can you show some data?
– Cleb
Nov 10 at 11:56
1
I am using this database for implementation archive.ics.uci.edu/ml/datasets/Airfoil+Self-Noise
– Mrinal Verma
Nov 10 at 11:57