Changed to capital letter in output columns.

main
Lasse Edfast 5 years ago
parent 238ffc21c4
commit fe265be3c0
  1. 2
      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"):

Loading…
Cancel
Save