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

webassetsruby-blockkendo-ui-angular2sonarlint-eclipsegeneric-relationswide-column-storeflask-assetsbeelineirontrapetrade-apitemplate-variablesframa-csmartosvalidate-requestbackandrust-dieselvalue-analysisbrowser-scrollbarsredux-framework

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

¿Cómo escribir nullable int en java?

0 la respuesta

script php que rellena las fotos en un div html

0 la respuesta

¿Hay alguna implementación .NET CLR / DLR de ECMAScript?

0 la respuesta

¿Por qué usar attr_accessor, attr_reader y attr_writer de Ruby?

0 la respuesta

Controlador ODBC nativo del servidor MSSQL para Linux y PHP 5.4

© 2020. Todos los derechos reservados
Hecho con amor 

Es

РусскийPolskiDeutschPortuguês