Dear tutor,
python3
pandas
The function below returns the maximum cost row of the df.
def maximum():
return [df.loc[df['cost'].idxmax()]]
maximum()
But I am only interested in specific column of the df.
How could I extract from the returned row of the df?
Thanks in advance.
Best.
rror: [WinError 2] The system cannot find the file specified:
'E://---10.txt' -> 'E://changed10.txt'
Thanks once again for your time spent on this.
best,
banda.
+
From: banda gunda
Sent: Friday, August 11, 2017 8:10 AM
To: tutor@python
Dear Tutor,
I want to change the name of the folders and the files in the tree.
All those folders and files starting with name string '---'.
Examples:
If a folder name is : \---DAT1
I want to change this to: \changedDAT1
If a file name is: \---1.txt
I want to change this to: \changed1.txt
Thanks Cameron (I hope I address your first name correctly).
Get Outlook for iOS<https://aka.ms/o0ukef>
From: Cameron Simpson
Sent: Friday, August 4, 2017 5:18:58 AM
To: banda gunda
Cc: tutor@python.org
Subject: Re: [Tutor] file move with wait peri
Dear tutors,
I am interested to move a set of files, periodically, from source_folder to
dest_folder.
source_folder receives processed files from a ‘decompressing program’. The
files are deposited from the ‘decompressing program’ at periodic random
intervals. Furthermore some of the files dro