Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.lang.python > #7760

Re: minimi relativi in dataframe

Path csiph.com!aioe.org!.POSTED.WM8r9k4jbvt7ocAWVmVkdA.user.gioia.aioe.org!not-for-mail
From dan258 <dan@258.boh>
Newsgroups it.comp.lang.python
Subject Re: minimi relativi in dataframe
Date Sun, 22 Mar 2020 12:22:08 +0100
Organization Aioe.org NNTP Server
Lines 15
Message-ID <r57hou$11k3$1@gioia.aioe.org> (permalink)
References <r4q90q$1c81$1@gioia.aioe.org> <r4su6k$1gic$1@gioia.aioe.org> <r4t7mp$o5b$1@gioia.aioe.org> <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>
NNTP-Posting-Host WM8r9k4jbvt7ocAWVmVkdA.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding 8bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
X-Notice Filtered by postfilter v. 0.9.2
Xref csiph.com it.comp.lang.python:7760

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar


Thread

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