File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -73,19 +73,20 @@ def download_EBA():
73
73
74
74
75
75
def row_to_df (rows , data_type ):
76
- """
77
- Turn rows of a single type from the bulk data text file into a dataframe
78
- with the region, datetime, and data as columns
76
+ """Turn rows of a single type from the bulk data text file into a dataframe
77
+ with the region, datetime, and data as columns.
78
+
79
79
Parameters
80
80
----------
81
81
rows : list
82
82
rows from the EBA.txt file
83
83
data_type : str
84
84
name to use for the data column (e.g. demand or total_interchange)
85
+
85
86
Returns
86
87
-------
87
- dataframe
88
- Data for all regions in a single df with datatimes converted and UTC
88
+ pandas.DataFrame
89
+ Data for all regions in a single df with datatimes converted and UTC.
89
90
"""
90
91
tuple_list = []
91
92
for row in rows :
You can’t perform that action at this time.
0 commit comments