Displaying 1 result from an estimated 1 matches for "da_zone1_15hr_1166".
2009 Sep 01
1
Read multiple files into dataframe?
...in the files.
I want to read in all files (.stdsummary), and create a dataframe that
contains the area and precipitation for each file (files are different
duration), and supply a header name that represents the duration (sixth
line down in header information or extracted from data file
"da_zone1_15hr_1166.stdsummary").
For example, this is what the final dataframe would look like for 1hr,
3hr, and 15hr datafiles:
1hrppt 1hrarea 3hrppt 3hrarea 15hrppt 15hrarea
3.8 0 6.86 0 7.67 0
3.71 1 6.78 1 7.6 1
3.69 5 6.72 5 7.52 5
3.56...