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 would like to break down a pandas column consisting of a list of elements into as many columns as there are unique elements i.e. one-hot-encode them (with value 1 representing a given element existing in a row and 0 in the case of absence). For example, ...

  • 0

After updating my Numpy and Tensorflow I am getting these kind of warnings. I had already tried these, but nothing works, every suggestion will be appreciated. FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be ...

  • 0

Since yesterday I’ve had this error when I try to import packages on anaconda : ImportError: Missing required dependencies ['numpy'] I have tried un-installing Anaconda and Python, switching to Python 2.7 but nothing works it’s still the same error, here is the ...

  • 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