mdc101 15 Posted April 26, 2012 Report Share Posted April 26, 2012 Hey Guys how would one go about calculating the average of a column in a table with ubot?At the moment I am doing this in excel but wouldlike my bot to do this as it is a task that should be done automatically? Any suggestions would be appreciated Quote Link to post Share on other sites
JohnB 255 Posted April 26, 2012 Report Share Posted April 26, 2012 Here is an example for you...I created the csv file in the code so I didn't have to attach one...you can scroll down to see where your code would actually begin. Now keep in mind, I set this up the long way so you could see each step and what I did, but this code can be condensed...you can also eliminate the list altogether and just pull the numbers from the table directly. I just thought it would be easier for you see how it works by doing it this way...Average of List.ubot Quote Link to post Share on other sites
mdc101 15 Posted April 26, 2012 Author Report Share Posted April 26, 2012 Thank you John, will look at your code now Quote Link to post Share on other sites
seothtt 1 Posted August 24, 2012 Report Share Posted August 24, 2012 Answered in another post. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.