Skip to content

Commit

Permalink
Silence pandas warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Bachibouzouk committed Apr 3, 2022
1 parent bb3857b commit e22f3c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/A1_general_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""

import pandas as pd
import numpy as np
from src.constants import (
CAPACITY_PV_KWP,
CAPACITY_WIND_KW,
Expand Down Expand Up @@ -103,7 +104,7 @@ def store_result_matrix(overall_results, experiment, oemof_results):
"""
round_to_comma = 5
result_series = pd.Series()
result_series = pd.Series(dtype=np.float64)

for key in overall_results.columns.values:
# Check if called value is in oemof results -> Remember: check if pandas index has certain index: pd.object.index.contains(key)
Expand Down

0 comments on commit e22f3c3

Please sign in to comment.