ContributePreguntasPublicacionesEtiquetas
VIKEnut'
Iniciar sesiónRegistrarse

Es

РусскийPolskiDeutschPortuguês

Tema oscuro

Escribir
Iniciar sesiónRegistrarse

Tema oscuro

Es

РусскийPolskiDeutschPortuguês

¡Eres muy activo! ¡Es genial!

Regístrese para continuar usando todas las funciones de Techfeed

Registrarse

¿Ya estás registrado?SignInAction

Etiquetas Populares

modular-arithmeticexport-to-xmlbrowser-pluginrelease-buildswavefrontwechatircfileinfogit-notesexternal-dependenciesgetsystemmetricscore-mediapropertydescriptorjoomla1.7docverterqt-necessitassharepointfoundation2010uitextrangegensimcollaborative-filtering

Preguntas relacionadas

2

¿Cómo escribir archivos wav estéreo en Python?

2

python argparse: ¿Cómo puedo mostrar la ayuda automáticamente en caso de error?

3

salida del subproceso de Python sin \ n

3

Carga de datos usando matrices en Python

5

pd.rolling_mean está en desuso - alternativas para ndarrays

Aug 15, 2013, 11:55 AM
 
pythonnumpyselectdataframepandas

¿Cómo verificar si un valor está en la lista en la selección del marco de datos de pandas?

Se ve feo

df_cut = df_new[
             (
             (df_new['l_ext']==31) |
             (df_new['l_ext']==22) |
             (df_new['l_ext']==30) |
             (df_new['l_ext']==25) |
             (df_new['l_ext']==64)
             )
            ]

No funciona:

df_cut = df_new[(df_new['l_ext'] in [31, 22, 30, 25, 64])]

¿Existe una solución elegante y funcional del "problema" anterior?

Respuestas a la pregunta(2)

Su respuesta a la pregunta

Preguntas populares

0 la respuesta

Imprima varios valores en la misma línea con comas

0 la respuesta

Cómo manejar un error 403 con PHP

0 la respuesta

Cómo reproducir un conjunto de frecuencias (Acordes) al mismo tiempo con el paquete javax.sound.sampled

0 la respuesta

AdMob - mejor rendimiento en la actividad de Android

0 la respuesta

Nitidez de imagen con filtro laplaciano

© 2020. Todos los derechos reservados
Hecho con amor 

Es

РусскийPolskiDeutschPortuguês