Trending questions in Edureka Community

+1 vote
0 answers

Not able to find the element in a new form in the same webpage ,which popup after clicking a link

I am trying to locate an element ...READ MORE

6 days ago in Selenium by Reshmi
• 130 points
23 views
0 votes
1 answer

How to a write reg expression that confirms an email id using the python reg expression module “re”?

Hey, @Roshni, Python has a regular expression module ...READ MORE

6 days ago in Python by Gitika
• 31,310 points
24 views
0 votes
1 answer

How to produce a list with unique elements from a list with duplicate elements?

Hey, @Roshni, Iterating the list is not a ...READ MORE

6 days ago in Python by Gitika
• 31,310 points
24 views
0 votes
1 answer

Error:No module named MySQLdb

Hii @kartik, Try this code: pip install PyMySQL and then ...READ MORE

Jun 26 in Python by Niroj
• 32,200 points
36 views
0 votes
1 answer

How to transform a Python string into a list?

Hi, @Roshni, You can use Python <split()> function ...READ MORE

6 days ago in Python by Gitika
• 31,310 points
23 views
0 votes
1 answer

Error:No module named pkg_resources

Hello @kartik, This error occur if the requirements.txt contains a ...READ MORE

Jun 26 in Python by Niroj
• 32,200 points
36 views
0 votes
1 answer

Python Error: No python at 'C:\Users\dell\Appdata\Local\Programs\Python\Python37-32\python.exe'

Check the Python classpath in the IDE ...READ MORE

Jun 25 in Python by anonymous
• 54,010 points
71 views
0 votes
1 answer

How do you serialize a model instance in Django?

Hello @kartik, If you're dealing with a list ...READ MORE

6 days ago in Python by Niroj
• 32,200 points
22 views
0 votes
1 answer

How do I filter query objects by date range in Django?

Hello @kartik, Use Sample.objects.filter(date__range=["2020-01-01", "2020-01-31"]) Or if you are just ...READ MORE

Jun 26 in Python by Niroj
• 32,200 points
26 views
0 votes
1 answer

ModuleNotFoundError: No module named 'urllib'

Hi@akhtar, You need to install urllib module in ...READ MORE

Jun 26 in Python by MD
• 31,430 points
22 views
0 votes
1 answer

How to do a not equal in Django queryset filtering?

Hello @kartik, Your query appears to have a ...READ MORE

Jun 26 in Python by Niroj
• 32,200 points
29 views
0 votes
1 answer

How to draw BoxPlot in Python?

Hi Guys, You can use the plot function ...READ MORE

6 days ago in Python by MD
• 31,430 points
16 views
0 votes
1 answer

How to create Bubble Chart using Pandas?

Hi@akhtar, You can use scatter function in Pandas. ...READ MORE

6 days ago in Python by MD
• 31,430 points
14 views
0 votes
1 answer

ModuleNotFoundError: No module named 'sqlalchemy'

Hi@akhtar, You need to install sqlalchemy module in your condo ...READ MORE

Jun 26 in Python by MD
• 31,430 points
20 views
0 votes
1 answer

How do I clone a Django model instance object and save it to the database?

Hello @kartik, Just change the primary key of ...READ MORE

Jun 26 in Python by Niroj
• 32,200 points
21 views
0 votes
1 answer

How to split a large sample of text into words in Python?

Hi@akhtar, You can use nltk module to split your text ...READ MORE

6 days ago in Python by MD
• 31,430 points
14 views
0 votes
1 answer

Django Server Error: port is already in use

Hello @kartik, Just type: sudo fuser -k 8000/tcp. This ...READ MORE

Jun 26 in Python by Niroj
• 32,200 points
17 views
0 votes
1 answer

How to count the frequency of the words in the file in Python?

Hi@akhtar, You can use the Counter module to ...READ MORE

6 days ago in Python by MD
• 31,430 points
13 views
0 votes
2 answers

How to split excel field data which contains the multiple delimiter values?

Try the following: new = data["Filed_data"].str.split(";", n = ...READ MORE

Jun 25 in Python by Shivam Dutt Sharma
15 views
0 votes
1 answer

Create a SQL table from a Pandas DataFrame.

Hi@akhtar, You can use the Sqlalchemy module to ...READ MORE

Jun 26 in Python by MD
• 31,430 points
16 views
0 votes
1 answer

ModuleNotFoundError: No module named 'selenium'

Hi@akhtar, You need to install the selenium module ...READ MORE

Jun 25 in Python by MD
• 31,430 points
59 views
0 votes
1 answer

How to fetch HTML code using urllib module in Python?

Hi@akhtar, You can use urllib module to fetch ...READ MORE

Jun 26 in Python by MD
• 31,430 points
12 views
0 votes
1 answer

Dax Calculations on Date&time

Hey, @Vnk, I hope you have a data ...READ MORE

3 days ago in Power BI by Gitika
• 31,310 points
98 views
0 votes
1 answer

What is `related_name` used for in Django?

Hello @kartik, The related_name attribute specifies the name of the ...READ MORE

Jun 26 in Python by Niroj
• 32,200 points
18 views
0 votes
1 answer

How to convert string to date in python with different algorithms ?

Hello @ pagarsach, You can convert a string to ...READ MORE

3 days ago in Python by Niroj
• 32,200 points
36 views
0 votes
1 answer

How to save an image locally using Python in which we already know the URL address?

Hi, @Roshni, The following code is used to ...READ MORE

Jun 26 in Python by Gitika
• 31,310 points
31 views
0 votes
1 answer

How to create a database engine using Sqlalchemy in Python?

Hi@akhtar, You can use the Sqlalchemy module in ...READ MORE

Jun 26 in Python by MD
• 31,430 points
7 views
0 votes
1 answer

ModuleNotFoundError: No module named 'turtle'

Hi@akhtar, It seems you don't have the turtle ...READ MORE

Jun 26 in Python by MD
• 31,430 points
26 views
0 votes
7 answers

How to print the contents of RDD in Apache Spark?

Save it to a text file: line.saveAsTextFile("alicia.txt") Print contains ...READ MORE

Dec 10, 2018 in Apache Spark by Akshay
27,524 views
0 votes
1 answer

How to check the memory usage of an object in python

Hi, @Roshni, You can use this code below: import ...READ MORE

Jun 26 in Python by Gitika
• 31,310 points
25 views
0 votes
1 answer

What is the function to randomize the items of a list in-place?

Hello @Roshni, Python has a built-in module called ...READ MORE

Jun 26 in Python by Gitika
• 31,310 points
24 views
0 votes
1 answer

please explain me what does i-1 in python user_define function

i - 1 is the index of ...READ MORE

5 days ago in Python by Shaurya Thapliyal
• 340 points
14 views
0 votes
1 answer

How to access a module written in Python from C?

Hey, @Roshni: You can access a module written ...READ MORE

Jun 26 in Python by Gitika
• 31,310 points
18 views
0 votes
1 answer

Error executing Jupyter command 'notebook': [Errno 2] No such file or directory

Hi@akhtar, I think there is a problem with ...READ MORE

Jun 25 in Python by MD
• 31,430 points
33 views
0 votes
1 answer

How to disable a method in a ViewSet, django-rest-framework

Hello @kartik, You could keep using viewsets.ModelViewSet and define http_method_names on your ...READ MORE

Jun 25 in Python by Niroj
• 32,200 points
27 views
0 votes
1 answer

Calculate GB Using DAX in Power BI

Hi, @Vnk You can go through this regarding ...READ MORE

2 days ago in Power BI by Gitika
• 31,310 points
74 views
0 votes
1 answer

ModuleNotFoundError: No module named 'torch'

Hi@akhtar, It seems you don't have a torch ...READ MORE

Jun 24 in Python by MD
• 31,430 points
102 views
0 votes
1 answer

How to remove the white spaces from the string “aaa bbb ccc ddd eee”?

Hi, @Roshni, You can do it Using join, read ...READ MORE

Jun 26 in Python by Gitika
• 31,310 points
14 views
0 votes
1 answer

How to write a Python code to sort a numerical dataset?

Hi, @Roshni,  The code to sort a numerical ...READ MORE

Jun 26 in Python by Gitika
• 31,310 points
13 views
0 votes
1 answer

How to create the following pattern using Python?

Hi, @Roshni, You can use two for-loops for ...READ MORE

Jun 26 in Python by Gitika
• 31,310 points
13 views
0 votes
1 answer

How to dynamically load a module in Python?

Hi, Dynamic loading is where we do not ...READ MORE

Jun 26 in Python by Roshni
• 1,130 points
12 views
0 votes
1 answer

ImportError: No module named django_extensions

Hello @kartik, You can solve this error by ...READ MORE

Jun 25 in Python by Niroj
• 32,200 points
32 views
0 votes
1 answer

Error:Django Rest Framework — no module named rest_framework

Hello @kartik, You just need to install django ...READ MORE

Jun 25 in Python by Niroj
• 32,200 points
40 views
0 votes
1 answer

What is the Python logic to count the number of capital letters in a file?

Hi, You can use this piece of code, ...READ MORE

Jun 26 in Python by Roshni
• 1,130 points
10 views
0 votes
1 answer

How to remove the last object from a list?

Hi, @Roshni, Try running the following piece of ...READ MORE

Jun 26 in Python by Gitika
• 31,310 points
10 views
0 votes
1 answer

How to return custom JSON in Django REST Framework?

Hello @kartik, There are 2 ways to custom ...READ MORE

Jun 25 in Python by Niroj
• 32,200 points
32 views
0 votes
1 answer

ERROR: google-auth 1.11.0 has requirement setuptools>=40.3.0, but you'll have setuptools 39.0.1 which is incompatible.

This indicates you must update setuptools. Execute ...READ MORE

Jun 25 in Python by Sirajul
• 54,010 points
30 views
0 votes
1 answer

How to convert CSV file to JSON file using Pandas?

Hi@akhtar, You can convert your CSV file to ...READ MORE

Jun 25 in Python by MD
• 31,430 points
20 views
0 votes
1 answer

How to convert a dictionary into a list in python?

Hi@akhtar You can convert a dictionary dataset into ...READ MORE

Jun 25 in Python by MD
• 31,430 points
17 views