Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: unsupported operand type(s) for /: 'str' and 'int' Error for boxplot
Post: RE: Plotting bar chart with multiple conditions

I have edited the qns.
soft General Coding Help 1 3,074 Feb-09-2021, 05:40 PM
    Thread: unsupported operand type(s) for /: 'str' and 'int' Error for boxplot
Post: unsupported operand type(s) for /: 'str' and 'int'...

I can't plot the boxplot for Gender and Age. Anybody know why? df.boxplot(by ='Gender', column =['Age']) --------------------------------------------------------------------------- TypeError ...
soft General Coding Help 1 3,074 Feb-09-2021, 01:49 PM
    Thread: How can I sort my column so that NaN is at the bottom?
Post: RE: How can I sort my column so that NaN is at the...

(Feb-05-2021, 03:02 PM)perfringo Wrote: I see that you want to print result. If this is the case why not just use dropna for displaying required data, something like: df1.sort_values('Smokers in Po...
soft Homework 3 2,411 Feb-05-2021, 07:06 PM
    Thread: How can I sort my column so that NaN is at the bottom?
Post: How can I sort my column so that NaN is at the bot...

I tried sort_values to put na as last position. But it is not working. I do not wish to remove the NaN fields as it will affect my data analysis later. I need to sort smokers by population before mor...
soft Homework 3 2,411 Feb-05-2021, 01:53 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020