From fe265be3c052e9bb12cf452b2912a03ee495e918 Mon Sep 17 00:00:00 2001 From: Lasse Date: Thu, 4 Mar 2021 11:38:13 +0100 Subject: [PATCH] Changed to capital letter in output columns. --- musicreport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/musicreport.py b/musicreport.py index 4f69d04..644559e 100644 --- a/musicreport.py +++ b/musicreport.py @@ -17,7 +17,7 @@ df["seconds"] = df.duration.apply( # Open and prepare file with open("Music Report.csv", "a+") as f: f.truncate(0) - f.write("title\tartist\tduration\n") + f.write("Title\tArtist\tDuration\n") # Sum the duration for all clips with the same title for title in df.groupby("title"):