Python Forum
Script to average 2 columns in .csv file, and print results to the file name.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script to average 2 columns in .csv file, and print results to the file name.
#4
You can do this with python quite easily actually.
Not sure of the best way to go about it, perhaps load into a list so you can add columns.
This will work if rows are symmetrical.
Reply


Messages In This Thread
RE: Script to average 2 columns in .csv file, and print results to the file name. - by Larz60+ - Sep-18-2017, 10:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Randomly Print a Quote From a Text File When User Types a Command on Main Menu BillKochman 13 939 Apr-24-2024, 05:47 AM
Last Post: Bronjer
  Create Choices from .ods file columns cspower 3 624 Dec-28-2023, 09:59 PM
Last Post: deanhystad
  file open "file not found error" shanoger 8 1,165 Dec-14-2023, 08:03 AM
Last Post: shanoger
  Create csv file with 4 columns for process mining thomaskissas33 3 769 Nov-06-2023, 09:36 PM
Last Post: deanhystad
  Updating sharepoint excel file odd results cubangt 1 859 Nov-03-2023, 05:13 PM
Last Post: noisefloor
  Need to replace a string with a file (HTML file) tester_V 1 778 Aug-30-2023, 03:42 AM
Last Post: Larz60+
  How can I change the uuid name of a file to his original file? MaddoxMB 2 948 Jul-17-2023, 10:15 PM
Last Post: Pedroski55
  Python Script to convert Json to CSV file chvsnarayana 8 2,553 Apr-26-2023, 10:31 PM
Last Post: DeaD_EyE
  Reading data from excel file –> process it >>then write to another excel output file Jennifer_Jone 0 1,119 Mar-14-2023, 07:59 PM
Last Post: Jennifer_Jone
  Converting a json file to a dataframe with rows and columns eyavuz21 13 4,557 Jan-29-2023, 03:59 PM
Last Post: eyavuz21

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020