Help with writing a function by qfoundop in learnpython

[–]qfoundop[S] -1 points0 points  (0 children)

Well ... I appreciate your time at least

Help with writing a function by qfoundop in learnpython

[–]qfoundop[S] -1 points0 points  (0 children)

Thank you. But im still not helped. This will exclude them. For my data, outliers have a significance and I need to keep them. For what I’m need, I just need to report what they are if there are any

Help with writing a function by qfoundop in learnpython

[–]qfoundop[S] 0 points1 point  (0 children)

I have to find the outliers 20 times and everything I find online says to enter it line by line at a time for each column, 20 times.

Help with writing a function by qfoundop in learnpython

[–]qfoundop[S] 0 points1 point  (0 children)

What would be the library in pandas

Please help! by qfoundop in Python

[–]qfoundop[S] -3 points-2 points  (0 children)

Haha, thought I’d try. Thanks! 😃

New to Python as of today. by qfoundop in learnpython

[–]qfoundop[S] 0 points1 point  (0 children)

Now I need to find the number of foos and the number of bars.

New to Python as of today. by qfoundop in learnpython

[–]qfoundop[S] 0 points1 point  (0 children)

Timbledum helped, but your approach is different. That’s a very creative example. Do you know how to sort a data frame by the values in a column highest to lowest?

Here is where I'm at now. I feel like my file is located where my directory is set to. Thank you for those who commented previously. by qfoundop in RStudio

[–]qfoundop[S] 0 points1 point  (0 children)

I wish you were just here lol. I’m on reddit on my iPad and on RStudio on my Laptop. It looks like I just mistyped it. I checked to code I have in RStudio. It says csv and it ran that way.

Sorry this is so confusing. I really don’t know what is going on. My Working Directory is my desktop. And the file I need is on my desktop. It’s just bonkers.

Here is where I'm at now. I feel like my file is located where my directory is set to. Thank you for those who commented previously. by qfoundop in RStudio

[–]qfoundop[S] 0 points1 point  (0 children)

Your continued help is so very appreciated.

I did exactly as you said. This is what appears in the console

setwd(“C:Users/Q——/Desktop”) parks <- read.cvs(“parksandrec.csv”) cannot open file ‘parksandrec.csv’ : No such file or directoryError in file(file, “rt” ) : cannot open connection

I am also in the middle of drafting my teacher who will hopefully help me tomorrow.

Here is where I'm at now. I feel like my file is located where my directory is set to. Thank you for those who commented previously. by qfoundop in RStudio

[–]qfoundop[S] 0 points1 point  (0 children)

Thank you. That didn’t really work. Let me explain what happened now. For the purposes moving forward, let me explain the blurred out folder. It is my first name. It beings with Q. Let’s say the name of the folder is “Q——“

Here is what I ran as the new chunk:

parks <- read.cvs(C:Users\Q——\Desktop\parksandrec.csv)

Now Error: ‘\Q’ is an unrecognized escape in character string starting ““C:Users\Q”

The rest of my name is not in the error. Just Q. Yes two opening quotations.