Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.python > #7760
| From | dan258 <dan@258.boh> |
|---|---|
| Newsgroups | it.comp.lang.python |
| Subject | Re: minimi relativi in dataframe |
| Date | 2020-03-22 12:22 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <r57hou$11k3$1@gioia.aioe.org> (permalink) |
| References | (3 earlier) <r4tdu3$1jr8$1@gioia.aioe.org> <r4u3s9$utp$1@gioia.aioe.org> <r53264$19ai$1@gioia.aioe.org> <r578mm$rit$1@gioia.aioe.org> <r57e7t$1a1u$1@gioia.aioe.org> |
Il 22/03/2020 11:21, jak ha scritto: > > Beh, non difficile, solo poco chiaro. Sembra che tu abbia un approccio > più matematico che informatico. Per farti un esempio, tu crei 'sup' poi > la utilizzi nel ciclo però se tu aggiungessi i dati in una lista unica > mano a mano che li incontri ecco che faresti la ricerca in una lista > molto piú corta che poi, naturalmente si allunga ma nel frattempo si è > ridotto il numero di iterazioni ed avresti un indice in meno da gestire. > Non parlo solo delle tue iterazioni ma anche di quelle non visibili tipo > quelle che avvengono in seguito ad istruzioni tipo: > > sup2 = sup.values[mask.values] sup2 mi serve per prendere l'ultimo elemento, so che e' uno spreco ma non mi viene in mente un modo per ridurre le iterazioni :-(
Back to it.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
minimi relativi in dataframe dan258 <dan@258.boh> - 2020-03-17 11:32 +0100
Re: minimi relativi in dataframe jak <nospam@please.ty> - 2020-03-18 11:46 +0100
Re: minimi relativi in dataframe dan258 <dan@258.boh> - 2020-03-18 14:28 +0100
Re: minimi relativi in dataframe jak <nospam@please.ty> - 2020-03-18 16:15 +0100
Re: minimi relativi in dataframe dan258 <dan@258.boh> - 2020-03-18 22:29 +0100
Re: minimi relativi in dataframe jak <nospam@please.ty> - 2020-03-20 19:31 +0100
Re: minimi relativi in dataframe dan258 <dan@258.boh> - 2020-03-22 09:47 +0100
Re: minimi relativi in dataframe jak <nospam@please.ty> - 2020-03-22 11:21 +0100
Re: minimi relativi in dataframe dan258 <dan@258.boh> - 2020-03-22 12:22 +0100
Re: minimi relativi in dataframe huhher <elia.toselli@outlook.it> - 2020-08-09 20:17 +0200
csiph-web