Skip to content

Commit 0a14c52

Browse files
committed
hotfix doc string format
1 parent 9abafff commit 0a14c52

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

electricitylci/bulk_eia_data.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,20 @@ def download_EBA():
7373

7474

7575
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+
7979
Parameters
8080
----------
8181
rows : list
8282
rows from the EBA.txt file
8383
data_type : str
8484
name to use for the data column (e.g. demand or total_interchange)
85+
8586
Returns
8687
-------
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.
8990
"""
9091
tuple_list = []
9192
for row in rows:

0 commit comments

Comments
 (0)