questions/python/page/52
Suppose you have two tensors, where y_hat contains computed ...READ MORE
When you are applying sum() you don't ...READ MORE
Python does not use brackets, it uses ...READ MORE
Hi, it is not possible to hash ...READ MORE
Hi, the solution to this is very ...READ MORE
Before printing, you can use a check ...READ MORE
You can try the following: import random word = ...READ MORE
You can use the following to get ...READ MORE
i am using mongoengine to integrate with ...READ MORE
Good question. Django 1.0 was updated recently ...READ MORE
In Python, there is no existence of ...READ MORE
One major issue I see is that ...READ MORE
You can use Python dictionary it is a built-in type ...READ MORE
The main python module that is run ...READ MORE
Closures don't refer to variables but rather ...READ MORE
Your shell in the terminal has a concept ...READ MORE
import threading import os def task1(): print("Task 1 assigned ...READ MORE
Hi! I think I can answer this - ...READ MORE
You can use the os module to list the ...READ MORE
Because timedelta is defined like: class datetime.timedelta([days,] [seconds,] ...READ MORE
You can install it via pip wheel. Download ...READ MORE
Hello @Suraj, There is an indentation issue, >>> ...READ MORE
Using dis to look at the bytecode ...READ MORE
Hey, Python Developer responsibilities include writing and testing ...READ MORE
The ActiveState solution that Pynt references makes instances of ...READ MORE
Good question. The solution to this short ...READ MORE
Unpacking with * works with any object ...READ MORE
The key here is the name attribute ...READ MORE
Hi, it's a very simple answer actually. You ...READ MORE
You can use the following to retrieve ...READ MORE
Try doing this - It is efficient for ...READ MORE
Yes, you can find the packages installed ...READ MORE
The documentation is not identical. As stated ...READ MORE
The "**" operator is used for 'power ...READ MORE
Hey @abhijmr.143, you can print array integers ...READ MORE
The syntax of the command you are ...READ MORE
Check out the following code. This might ...READ MORE
If you use and on two or ...READ MORE
There is no need to reload server, ...READ MORE
What you show, ('A','B','C','D','E'), is not a ...READ MORE
Simply, use: model.predict() pred = model.predict(x_test) indices = [i for ...READ MORE
Try the following steps: 1. Open a terminal ...READ MORE
Hi, good question. There is a module meant ...READ MORE
Hi, good question. The thing is that ...READ MORE
This happens because the scipy module doesn't ...READ MORE
Hi, there is one scenario where the ...READ MORE
Python doesn't support ++, so we use: number ...READ MORE
For the class method when used as ...READ MORE
Hi. Nice question. Here is the simplified answer ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.