continuous

python time series plot problem (discontinuous datetime, plot weird for some files)

python time series plot problem (discontinuous datetime, plot weird for some files) Question: Hi I am trying to plot some timeseries data but there are two problems. Before describing the problems, there are many stations and data files that I use are for each station. I mean, the files are station1.csv, station2.csv, … . And …

Total answers: 2

Identify groups of continuous numbers in a list

Identify groups of continuous numbers in a list Question: I’d like to identify groups of continuous numbers in a list, so that: myfunc([2, 3, 4, 5, 12, 13, 14, 15, 16, 17, 20]) Returns: [(2,5), (12,17), 20] And was wondering what the best way to do this was (particularly if there’s something inbuilt into Python). …

Total answers: 19