RE: [Neuroimaging] what's the problem??????

2022-07-15 Thread avi.e.gross
ld be adjusted to work. -Original Message- From: Python-list On Behalf Of Dennis Lee Bieber Sent: Friday, July 15, 2022 1:11 PM To: python-list@python.org Subject: Re: [Neuroimaging] what's the problem?? On Thu, 14 Jul 2022 17:20:55 -0400, declaimed the following: >Dennis, >

Re: [Neuroimaging] what's the problem??????

2022-07-15 Thread Roel Schroeven
Dennis Lee Bieber schreef op 15/07/2022 om 19:11: ... is, itself, returning a dictionary on which .values() can be applied. In that case, the list() call is likely redundant as .values() already returned a list (hmmm, is list(some_list) a no-op, or does it wrap some_list into another list -- in

Re: [Neuroimaging] what's the problem??????

2022-07-15 Thread Dennis Lee Bieber
On Thu, 14 Jul 2022 17:20:55 -0400, declaimed the following: >Dennis, > >I see Nati sent some more code without explaining again what he wants. Yes, >somewhere in this stack of messages he may have said things (that we generally >failed to understand) but it would be helpful to summarize WHY

RE: [Neuroimaging] what's the problem??????

2022-07-14 Thread avi.e.gross
Bieber Sent: Thursday, July 14, 2022 11:47 AM To: python-list@python.org Subject: Re: [Neuroimaging] what's the problem?? On Thu, 14 Jul 2022 08:49:39 +0300, ??? declaimed the following: >Instead of numbers, I want to enter as indexes the names of the Index >as being in b va

RE: [Neuroimaging] what's the problem??????

2022-07-14 Thread avi.e.gross
: avi.e.gr...@gmail.com; python-list@python.org; Neuroimaging analysis in Python Subject: Re: [Neuroimaging] what's the problem?? Instead of numbers, I want to enter as indexes the names of the Index as being in b variable: labels = pd.read_csv("C:/Users/Administrator/Desktop/64/6

RE: [Neuroimaging] what's the problem??????

2022-07-14 Thread avi.e.gross
ginal Message- From: Python-list On Behalf Of ??? Sent: Thursday, July 14, 2022 12:19 AM To: David Welch ; Neuroimaging analysis in Python ; python-list@python.org Subject: Re: [Neuroimaging] what's the problem?? I want to swap indexes of dict בתאריך יום ד׳, 13 ביולי 2022,

what's the problem??????

2022-07-14 Thread נתי שטרן
CODE: for nii in os.listdir("c:/users/administrator/desktop/nii"): from nilearn import plotting from nilearn import datasets atlas = datasets.fetch_atlas_msdl() # Loading atlas image stored in 'maps' atlas_filename = "C:/Users/Administrator/Desktop/64/64/2mm/maps.nii.gz"

Re: [Neuroimaging] what's the problem??????

2022-07-14 Thread Dennis Lee Bieber
On Thu, 14 Jul 2022 08:49:39 +0300, ??? declaimed the following: >Instead of numbers, I want to enter as indexes the names of the Index as >being in b variable: > labels = pd.read_csv( >"C:/Users/Administrator/Desktop/64/64/labels_64_dictionary.csv") >a=labels.to_dict() >

Re: [Neuroimaging] what's the problem??????

2022-07-13 Thread נתי שטרן
comprehension may, of course, not be what you want > as swapping indexes with may not mean anything to us trying > to help. > > Avi (a שטרן on my mother's side.) > > > -Original Message- > From: Python-list > On Behalf Of ??? > Sent: Thursday, July 1

Re: [Neuroimaging] what's the problem??????

2022-07-13 Thread נתי שטרן
e speed with which you are likely to get that answer both >>> improve tremendously. >>> >>> Simon Tatham has written an excellent essay entitled How to Report Bugs >>> Effectively <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>. I >>> strongly re

Re: what's the problem??????

2022-07-13 Thread Avi Gross via Python-list
-list@python.org Sent: Wed, Jul 13, 2022 2:35 pm Subject: Re: what's the problem?? I want to set dict בתאריך יום ד׳, 13 ביולי 2022, 20:47, מאת נתי שטרן ‏: > CODE: > > for nii in os.listdir("c:/users/administrator/desktop/nii"): > >    from nilearn import plotting >   

Re: what's the problem??????

2022-07-13 Thread נתי שטרן
I want to set dict בתאריך יום ד׳, 13 ביולי 2022, 20:47, מאת נתי שטרן ‏: > CODE: > > for nii in os.listdir("c:/users/administrator/desktop/nii"): > > from nilearn import plotting > from nilearn import datasets > atlas = datasets.fetch_atlas_msdl() > # Loading atlas image stored in