Most voted questions in Edureka Community

0 votes
1 answer

Convert a NumPy array to a tuple in Python.

Hi@akhtar, You can use the tuple keyword in ...READ MORE

Jun 29, 2020 in Python by MD
• 95,440 points
2,230 views
0 votes
1 answer

How to set dataframe based on Index Name & Column name ?

Hi@Gaurav, You can use set_index function in pandas. It allows ...READ MORE

Jun 29, 2020 in Python by MD
• 95,440 points
761 views
0 votes
1 answer

How to delete old image when update ImageField?

Hello @kartik, You'll have to delete the old ...READ MORE

Jun 29, 2020 in Python by Niroj
• 82,880 points
4,165 views
0 votes
1 answer

How to set other Inline title in Django Admin?

Hii @kartik, You need to set the values ...READ MORE

Jun 29, 2020 in Python by Niroj
• 82,880 points
2,168 views
0 votes
1 answer

How to store a dictionary on a Django Model?

Hello @kartik, If you don't need to query ...READ MORE

Jun 29, 2020 in Python by Niroj
• 82,880 points
8,859 views
0 votes
2 answers

TypeError: 'float' object cannot be interpreted as an integer

Hi@akhtar, The range function does not work with ...READ MORE

Jun 29, 2020 in Python by MD
• 95,440 points
16,389 views
0 votes
1 answer

How to add Django script to access model objects without using manage.py shell?

Hello @kartik, Use the following and you will be ...READ MORE

Jun 29, 2020 in Python by Niroj
• 82,880 points
5,349 views
0 votes
1 answer

How can “list_display” in a Django ModelAdmin display attributes of ForeignKey fields?

Hello @kartik, As another option, you can do ...READ MORE

Jun 29, 2020 in Python by Niroj
• 82,880 points
9,424 views
0 votes
1 answer

How to plot 3D charts in Python?

Hi@akhtar, Python is capable of creating 3d charts. ...READ MORE

Jun 29, 2020 in Python by MD
• 95,440 points
961 views
0 votes
1 answer

Blockchain Basic Questions

Hey, @Nikhil  1. A type of distributed ledger database ...READ MORE

Jun 30, 2020 in Blockchain by Gitika
• 65,910 points
949 views
0 votes
1 answer

'str' object has no attribute 'read'

Hi@zena, In the below section you are trying ...READ MORE

Jun 29, 2020 in Python by MD
• 95,440 points
12,631 views
0 votes
1 answer

How to Handle alerts like Irctc alert in selenium?

Hello  karthik, Handling alerts manually is a tedious task. ...READ MORE

Jun 29, 2020 in Selenium by Niroj
• 82,880 points
2,512 views
0 votes
1 answer

'utf-8' codec can't decode byte 0x82 in position 16: invalid start byte

Hi@zena, The error is because there is some non-ASCII ...READ MORE

Jun 29, 2020 in Python by MD
• 95,440 points
14,830 views
0 votes
1 answer

Stacked chart with dates on X-axis

Hi, @Hacke Regarding your query, you can follow ...READ MORE

Jun 30, 2020 in Power BI by Gitika
• 65,910 points
1,730 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

Jun 26, 2020 in Python by Gitika
• 65,910 points
693 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

Jun 26, 2020 in Python by Gitika
• 65,910 points
3,179 views
0 votes
1 answer

How to transform a Python string into a list?

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

Jun 26, 2020 in Python by Gitika
• 65,910 points
430 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

Jun 26, 2020 in Python by Niroj
• 82,880 points
4,416 views
0 votes
1 answer

How to create Bubble Chart using Pandas?

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

Jun 26, 2020 in Python by MD
• 95,440 points
3,288 views
0 votes
1 answer

How to draw BoxPlot in Python?

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

Jun 26, 2020 in Python by MD
• 95,440 points
716 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

Jun 26, 2020 in Python by MD
• 95,440 points
1,088 views
0 votes
1 answer

ModuleNotFoundError: No module named 'nltk'

Hi@akhtar, It seems this module is not present ...READ MORE

Jun 26, 2020 in Python by MD
• 95,440 points
16,327 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

Jun 26, 2020 in Python by MD
• 95,440 points
2,728 views
0 votes
1 answer

ModuleNotFoundError: No module named 'bs4'

Hi@akhtar, You need to install the bs4 package ...READ MORE

Jun 26, 2020 in Python by MD
• 95,440 points
8,835 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, 2020 in Python by MD
• 95,440 points
760 views
0 votes
1 answer

ModuleNotFoundError: No module named 'urllib'

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

Jun 26, 2020 in Python by MD
• 95,440 points
7,415 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, 2020 in Python by Niroj
• 82,880 points
1,427 views
0 votes
1 answer

ModuleNotFoundError: No module named 'pymongo'

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

Jun 26, 2020 in Python by MD
• 95,440 points
7,819 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, 2020 in Python by MD
• 95,440 points
987 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, 2020 in Python by MD
• 95,440 points
1,384 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, 2020 in Python by MD
• 95,440 points
14,763 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, 2020 in Python by Niroj
• 82,880 points
33,138 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, 2020 in Python by Niroj
• 82,880 points
854 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, 2020 in Python by Niroj
• 82,880 points
10,405 views
0 votes
1 answer

Error:No module named MySQLdb

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

Jun 26, 2020 in Python by Niroj
• 82,880 points
14,736 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, 2020 in Python by Niroj
• 82,880 points
3,536 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, 2020 in Python by Niroj
• 82,880 points
26,890 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, 2020 in Python by Gitika
• 65,910 points
1,208 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, 2020 in Python by Gitika
• 65,910 points
3,201 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, 2020 in Python by Gitika
• 65,910 points
1,588 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, 2020 in Python by Gitika
• 65,910 points
1,434 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, 2020 in Python by Gitika
• 65,910 points
2,209 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, 2020 in Python by Roshni
• 10,520 points
1,875 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, 2020 in Python by Roshni
• 10,520 points
1,626 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, 2020 in Python by Gitika
• 65,910 points
530 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, 2020 in Python by Gitika
• 65,910 points
1,346 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, 2020 in Python by Gitika
• 65,910 points
555 views
0 votes
1 answer

Web scraping data from a Spotfire web report

Hi, @There, You can try this: It reads ...READ MORE

Jun 30, 2020 in Python by Gitika
• 65,910 points
1,252 views
0 votes
1 answer

ModuleNotFoundError: No module named 'turtle'

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

Jun 26, 2020 in Python by MD
• 95,440 points
6,356 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, 2020 in Python by MD
• 95,440 points
1,452 views