Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

69
Visualizações
How do I go about extracting only the numbers from this data set?

I am a student who has primarily used languages such as Python and MATLAB, so I am having a bit of trouble with Javascript. The assignment is to create a scatterplot based on this data. I understand how to create the plot, but I can't necessarily figure out how to only extract the integer elements of the set. I typically work with large dictionaries in Python and understand the traversal of those. But since strings and integers are essentially combined here, I am not sure how to traverse this data set. Any help would be greatly appreciated. Thank you!

var scores = [
   { SATM:430, SATV:470, ACT:15, GPA: 2.239 },
   { SATM:560, SATV:350, ACT:16, GPA: 2.488 },
   { SATM:400, SATV:330, ACT:17, GPA: 2.982 },
   { SATM:410, SATV:450, ACT:17, GPA: 2.155 },
   { SATM:430, SATV:460, ACT:17, GPA: 2.712 },
   { SATM:430, SATV:370, ACT:18, GPA: 1.913 }
     ...
     ...

]
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda