RangeSlider - changing parameters

Hi,

  1. I’d like to upload some csv file into pandas dataframe and based of its length to update the max value in the RangeSlider.
    How I can do that?

  2. The length of the file is variable (i.e. once it can be 70k records and once it can be 400k records).
    Each record is with with time tag.
    I’d like to generate custom marks of lets say 20 points (included the edges) with the time tag and when I change the slider locations, in the tooltip i’d like to see the time tag.
    How I can do that?