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

2022-07-15 Thread avi.e.gross
is silly to ask why the mess did not work, and better to ask how each piece starting from the top is working or should 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:

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 t

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 he

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

2022-07-14 Thread avi.e.gross
Lee 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

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

2022-07-14 Thread avi.e.gross
vi.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

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

2022-07-14 Thread avi.e.gross
rying to help. Avi (a שטרן on my mother's side.) -Original 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

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() >b=a["Difumo_

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

2022-07-13 Thread נתי שטרן
lts back into the same variable > if you wish. The above 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: Py

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

2022-07-13 Thread נתי שטרן
nd the 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 >>> strong

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