Skip to content

Commit 0130d67

Browse files
committed
Update message when raising ValueError in validate_df()
1 parent d8a1632 commit 0130d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stock_analysis/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def validate_wrapper(self, *args, **kwargs):
7878
raise ValueError('Must pass in a pandas `DataFrame`')
7979
if columns.difference(df.columns):
8080
raise ValueError(
81-
f'Dataframe must contain the following columns: {columns}'
81+
f'DataFrame must contain the following columns: {columns}'
8282
)
8383
return method(self, *args, **kwargs)
8484
return validate_wrapper

0 commit comments

Comments
 (0)