GithubHelp home page GithubHelp logo

dav-assignments's People

Contributors

alperyilmaz avatar

Watchers

 avatar

dav-assignments's Issues

DataCamp yanlış kodu hata olarak veriyor olabilir mi ?

Aggregate function kısmında aşağıdaki kodu yazdığım zaman ;

Remove rows that have NA ArrDelay: temp1

temp1 <- filter(hflights, !is.na(ArrDelay))

Generate summary about ArrDelay column of temp1

summarise(temp1, earliest = min(ArrDelay), average = mean(ArrDelay), latest = max(ArrDelay), sd = sd(ArrDelay))

Keep rows that have no NA TaxiIn and no NA TaxiOut: temp2

temp2 <- filter(hflights, !is.na(TaxiIn), !is.na(TaxiOut))

Print the maximum taxiing difference of temp2 with summarise()

temp2 <- mutate(temp2, taxi_diff = abs(TaxiIn - TaxiOut))
summarise(temp2, max_taxi_diff = max(taxi_diff))

üçüncü kısım ile ilgili şu hatayı alıyorum ;
Incorrect submission
There is something wrong with your code to calculate temp2. Use both !is.na(TaxiIn) and !is.na(TaxiOut) inside filter().

fakat hata nın bu olduğu düşünmüyorum. ipucu aldığım zaman ise ;
Hint
You'll need !is.na() inside filter() to remove observations that have NA variables.
For temp2, you need !is.na() twice in combination with & (or with commas inside filter()).

zaten yaptığımdan farklı bir şey söylemiyor.

sorunun doğru cevabı ise aşağıdaki gibiymiş;

Remove rows that have NA ArrDelay: temp1

temp1 <- filter(hflights, !is.na(ArrDelay))

Generate summary about ArrDelay column of temp1

summarise(temp1,
earliest = min(ArrDelay),
average = mean(ArrDelay),
latest = max(ArrDelay),
sd = sd(ArrDelay))

Keep rows that have no NA TaxiIn and no NA TaxiOut: temp2

temp2 <- filter(hflights, !is.na(TaxiIn), !is.na(TaxiOut))

Print the maximum taxiing difference of temp2 with summarise()

summarise(temp2, max_taxi_diff = max(abs(TaxiIn - TaxiOut)))

doğru cevabı incelediğim zaman ise verilen hata nın (# Keep rows that have no NA TaxiIn and no NA TaxiOut: temp2 ) ile ilgili değil son kısım (Print the maximum taxiing difference of temp2 with summarise()) ile ilgili olduğunu görüyorum. Fakat bu şekilde bile benim yazdığım kodun sonucu (141) ile doğru cevabın sonucu da aynı çıkıyor. Acaba datacamp tan kaynaklanan bir problem mi mevcut yoksa ben mi durumu yanlış anladım ?

Teşekkürler

yukarıdaki kodların ekran alıntıları ;

image
image

I cannot submit my answer.


I cannot submit any answers for this exercise. I always get a message such that given below:

ekran goruntusu 343

I don't think it arises from my bad internet connection or due to prolonged waiting on the same page. Because I passed this exercise, did others and came back to this one and it still gives the same error message. It is in this way for 2 days.
So, can you help me to figure out what's happening? What should I do at this point?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.