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

system.securityexpandometaclassfadetowindows-live-mailmethodbaseevaluatorlog4cplusnode-sqlserveravspeechsynthesizergammucontentmodephpspreadsheetreuseidentifierpyunofastutilandroid-dozeora-00933android-settingsqhullvariablesizedwrapgrid

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 07, 2012, 03:51 PM
 
pythonlistfilterindexing

Python: filtrando listas por índices

En Python tengo una lista de elementos.aList y una lista de índicesmyIndices. ¿Hay alguna manera de poder recuperar todos a la vez esos elementos enaList teniendo como índices los valores enmyIndices?

Ejemplo:

>>> aList = ['a', 'b', 'c', 'd', 'e', 'f', 'g']
>>> myIndices = [0, 3, 4]
>>> aList.A_FUNCTION(myIndices)
['a', 'd', 'e']

Respuestas a la pregunta(6)

Su respuesta a la pregunta

Preguntas populares

0 la respuesta

Leyendo el archivo binario en R

0 la respuesta

¿Cómo puedo ofuscar mi script de Perl para que sea difícil realizar ingeniería inversa?

0 la respuesta

Cómo hacer un panel de pestañas usando el servicio HTML

0 la respuesta

Sumas consecutivas / Rolling en un vector en R

0 la respuesta

¿Cómo funciona la función de encuesta C Linux?

© 2020. Todos los derechos reservados
Hecho con amor 

Es

РусскийPolskiDeutschPortuguês