1
2
3
4
def get_pos(rel_dates):
    """returns the positions of the dates closest to 25%, 50%, and 75%"""
    pos = [0] # first element
...

Python Return the indexes of speci...

by Tafkas, January 28, 2010 19:53, 5 refactorings, tagged with dates, python, relative position

The function takes an list ...

693a4661eaa71435ce5ebe61de64c5a4 Talk