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

lazy-c++addremoveprogramsdotpeekscnnodeazure-storage-queuesaggregate-filtersql-generationapplicationdomainaccessjupyter-labsig-atomic-tdjango-postgresqlloadjavaply-file-formatsweetalertc-librariesmysql-error-1055python-telegram-botcardviewandroid-developer-api

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

Apache Tomcat 7 cambiando JSESSIONID en cada solicitud

0 la respuesta

Cómo restablecer la columna de identidad en MS Access

0 la respuesta

QX11EmbedWidget y QX11EmbedContainer

0 la respuesta

La sesión de ExpressJS expira a pesar de la actividad.

0 la respuesta

Almacenar matrices en cookies

© 2020. Todos los derechos reservados
Hecho con amor 

Es

РусскийPolskiDeutschPortuguês