Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

I am getting TypeError: unhashable type: ‘slice’ when executing the below code for encoding categorical data in Python. Can anyone please help? # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd# Importing the dataset dataset = pd.read_csv('50_Startups.csv') y=dataset.iloc[:, 4] X=dataset.iloc[:, 0:4]# Encoding ...

  • 0

I’m trying to implement the binary classification example using the IMDb dataset in Google Colab. I have implemented this model before. But when I tried to do it again after a few days, it returned a value error:’Object arrays cannot be ...

  • 0

I am trying to run the following simple code import scipy scipy.test() But I am getting the following error Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:Python27libsite-packagesspyderlibwidgetsexternalshellsitecustomize.py", line 586, in runfile execfile(filename, namespace) ...

close