Trending questions in Python

0 votes
1 answer

How do I merge two dictionaries in a single expression in Python?

Hello, For dictionaries x and y, z becomes a shallowly merged dictionary with ...READ MORE

Apr 13, 2020 in Python by Niroj
• 82,840 points
1,234 views
0 votes
2 answers

Invalid Token in Python

in python version 2.7,3.6.8 you can't write ...READ MORE

Jun 25, 2020 in Python by ker
7,201 views
0 votes
0 answers

Size is (121,512,512). Error is coming as : IndexError: index 152 is out of bounds for axis 0 with size 121.

def nodule_detect(nodules,j,numpyImage, numpyOrigin, numpySpacing): ...READ MORE

Jan 28, 2020 in Python by anonymous
• 150 points
4,422 views
0 votes
1 answer

video streaming using cv2 module in python.

Hi@akhtar, Yes, you can use cv2 module for ...READ MORE

Apr 15, 2020 in Python by MD
• 95,460 points
955 views
+1 vote
3 answers

How can I remove duplicate dict in list in Python?

[dict(t) for t in {tuple(d.items()) for d ...READ MORE

Aug 15, 2019 in Python by anonymous

edited Aug 20, 2019 by Kalgi 9,501 views
0 votes
1 answer

Python string replace not working

The replace method doesn’t store the altered ...READ MORE

Apr 4, 2019 in Python by Tina

edited Oct 7, 2021 by Sarfaraz 17,174 views
+1 vote
4 answers

How to write nested dictionaries to a CSV file

Using DictWriter there is no need in ...READ MORE

Oct 18, 2018 in Python by Richard William
28,281 views
0 votes
1 answer

How to keep keys/values in same order as declared?

You can't really do what you want ...READ MORE

Apr 13, 2020 in Python by Niroj
• 82,840 points
950 views
0 votes
1 answer

how to play audio highlights his text in python?

Hey, You can split the audio files into ...READ MORE

Mar 27, 2020 in Python by Gitika
• 65,770 points
1,664 views
0 votes
1 answer

How to print a string with curly braces in Python?

You can use something like this - mystring ...READ MORE

Jul 23, 2019 in Python by Neel
• 3,020 points
12,356 views
0 votes
1 answer

How to transfer multiple lines in a file using python?

Hi@akhtar, I don't know it will help you ...READ MORE

Mar 31, 2020 in Python by MD
• 95,460 points
1,450 views
0 votes
0 answers

Use inverse transform with deep learning. Conceptual clarity needed

I have built a deep learning model ...READ MORE

Mar 21, 2020 in Python by Anan
• 180 points
1,923 views
0 votes
1 answer

can i get python interview questions pdf

Hey, @Navyboinpally, This is going to be very ...READ MORE

Apr 8, 2020 in Python by Gitika
• 65,770 points
1,112 views
0 votes
1 answer

How to crop face from a photo using cv2 in python?

Hi@akhtar, You can do this task using cv2 ...READ MORE

Apr 9, 2020 in Python by MD
• 95,460 points
1,039 views
0 votes
0 answers

The Pycharm and Python functions don't match. What should I do?

Hello, I am quite new to python ...READ MORE

Apr 5, 2020 in Python by anonymous
• 120 points
1,247 views
0 votes
1 answer

I m begginer,is the python harder than java and html ??

Hey, @Shuddh,  Its upon your interests that what ...READ MORE

Apr 15, 2020 in Python by Gitika
• 65,770 points
720 views
0 votes
1 answer

Python: Megre multiple dataframes into single data frame

You can merge the data frame using ...READ MORE

Jul 14, 2019 in Python by Sharan
12,666 views
0 votes
1 answer

how to install chatterbot in python?

You can install the latest development version of ChatterBot ...READ MORE

Jun 5, 2020 in Python by Neeraj
• 150 points
5,019 views
0 votes
1 answer

Which will good platform to perform anaconda navigation or other and install the package on anaconda ide

Hey, @Daulat, We use Anaconda Navigator to launch ...READ MORE

Apr 8, 2020 in Python by Gitika
• 65,770 points
999 views
0 votes
1 answer

How to make a flat list out of list of lists?

Hii @kartik, Given a list of lists l, flat_list = ...READ MORE

Apr 13, 2020 in Python by Niroj
• 82,840 points
759 views
0 votes
1 answer

Azure VM Monitoring

Hi, @Mukund, For an Azure Virtual Machine, we ...READ MORE

Apr 6, 2020 in Python by Gitika
• 65,770 points
1,100 views
0 votes
1 answer

How to read photo using cv2 module in python?

Hi@akhtar, Yes, you can read your image in ...READ MORE

Apr 9, 2020 in Python by MD
• 95,460 points
913 views
0 votes
0 answers

How to return None if Dictionary key is not available?

I need a way to get a ...READ MORE

Apr 13, 2020 in Python by kartik
• 37,520 points
604 views
0 votes
1 answer

How to access specific columns from a csv file?

Instead of using csv module in Python, ...READ MORE

Jul 15, 2019 in Python by Neel
• 3,020 points
12,350 views
0 votes
1 answer

What is the difference between list and tuple?

List has [ ] brackets while tuple ...READ MORE

May 11, 2021 in Python by Mohit Khurana

edited Mar 5 7,347 views
0 votes
0 answers

Excel .json Import Error: The Type of Current Preview Value is Too Complex to Display

Main Problem: I'm trying to import .json to excel ...READ MORE

Mar 15, 2020 in Python by Tarık
• 120 points
1,859 views
0 votes
1 answer

How to convert sqlite format to CSV format?

Hi@akhtar, If you want to read SQLite format ...READ MORE

Feb 11, 2020 in Python by MD
• 95,460 points
3,203 views
0 votes
2 answers

Find the largest value in a dictionary

Use below running code which is simple ...READ MORE

Nov 25, 2021 in Python by Suhas
1,366 views
0 votes
3 answers

how to use print statement in python3?

Brackets are required to print the output. >>> ...READ MORE

Nov 25, 2021 in Python by anonymous
1,840 views
0 votes
1 answer

Python Pandas Dataframe: set_value is deprecated and will be removed in a future release

The set_value function is deprecated and you will ...READ MORE

Apr 8, 2019 in Python by Jai
16,460 views
0 votes
1 answer

Convert HTML to an image in Python

webkit2png. The original version is OSX-only, but luckily ...READ MORE

Feb 5, 2019 in Python by SDeb
• 13,300 points
18,985 views
0 votes
0 answers

How to solve UTF-8 error

Hi, im getting a problem when executing ...READ MORE

Mar 26, 2020 in Python by skaailet
• 120 points
1,039 views
0 votes
0 answers

How can I change the loss function when the shape of my data changes?

Since my data is too large, I ...READ MORE

Mar 27, 2020 in Python by Anan
• 180 points
920 views
0 votes
1 answer

How to set NotebookApp.iopub_data_rate_limit and others NotebookApp settings in JupyterHub?

Open the command line and enter jupyter notebook ...READ MORE

Jun 10, 2019 in Python by SDeb
• 13,300 points
13,355 views
0 votes
1 answer

Error saying "TypeError: descriptor object needs an argument"

The error is pretty straight forward, toy ...READ MORE

May 28, 2019 in Python by Alisha
13,907 views
0 votes
1 answer

I would like to connect to multiple databases in oracle

Hey Radhika, To communicate any database with Python ...READ MORE

Feb 17, 2020 in Python by Gitika
• 65,770 points
2,384 views
0 votes
0 answers

how to create dataframes with nifi

Mar 13, 2020 in Python by pavankumar
• 140 points
1,280 views
0 votes
1 answer

reverse a list without built-in functions

You can do it in 2 ways: Using ...READ MORE

Jul 31, 2019 in Python by Wajiha
• 1,960 points
10,981 views
0 votes
1 answer

Python strftime- date without leading 0?

If you add a hyphen between the ...READ MORE

Dec 31, 2018 in Python by SDeb
• 13,300 points
19,961 views
0 votes
1 answer

Python function to find a list of all keywords

You can use the keyword module for ...READ MORE

Jun 17, 2019 in Python by Ayman
12,650 views
0 votes
0 answers

nifi dataframe.py

Mar 13, 2020 in Python by pavankumar
• 140 points
895 views
0 votes
1 answer

How to call Python script from bash with an agrument?

Hi, You need to call the same command ...READ MORE

Jun 25, 2019 in Python by Shabnam
• 930 points
12,193 views
0 votes
1 answer

Error while installing cv2 module in pycharm

Go to tools -> python console -> ...READ MORE

Jun 24, 2019 in Python by Quin
12,154 views
0 votes
0 answers

print(lst[-2:-4]) is not possible why?

Mar 13, 2020 in Python by Anubhuti
• 120 points
795 views
0 votes
0 answers

Uploading JSON file to a new column in DynamoDB table.

Actually I have two dynamo db tables ...READ MORE

Mar 6, 2020 in Python by Naveena
1,074 views
0 votes
0 answers

How i can open a storage based pdf file in chrome full screen mood using python?

i have a pdf file stored in ...READ MORE

Mar 12, 2020 in Python by junaid
• 120 points

retagged Mar 12, 2020 by junaid 802 views
+1 vote
0 answers

ValueError: could not broadcast input array from shape (2) into shape (5) [closed]

I was implementing gillespie algorithm and when ...READ MORE

Dec 23, 2019 in Python by anonymous
• 130 points

reshown Jan 13, 2020 by Kalgi 4,171 views
+1 vote
1 answer

How to install tensorflow using anaconda and python 3.7.1 on windows?

Since I am using python 3.5 so ...READ MORE

Aug 19, 2019 in Python by Arvind
• 3,050 points
9,559 views
0 votes
1 answer

How to append dataframe without index?

You have to use the ignore_index option. ...READ MORE

Apr 1, 2019 in Python by Robert
15,642 views