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

rust-cratesmysql-error-1050vmmapcolumn-major-orderubuntu-15.04android-min-sdkcharacter-encoding row-major-orderqtcpserverconstructor-inje,ctionfatdataweaveperforce-client-specswift2.1boyer-mooreltraceconfigsourcegoogle-cloud-datalabpybluezasenumerable

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

git svn fetch recupera la misma revisión de Subversion varias veces para las ramas

0 la respuesta

Frecuencia cuenta en R [duplicado]

0 la respuesta

¿Java hace distinción entre el tipo de valor y el tipo de referencia

0 la respuesta

Instagram Graph API

0 la respuesta

boost :: asio async condition

© 2020. Todos los derechos reservados
Hecho con amor 

Es

РусскийPolskiDeutschPortuguês