Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

68
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda