From 501e808169cd97b11fb035377a5a67282b0d83bc Mon Sep 17 00:00:00 2001 From: Sourcery AI <> Date: Fri, 14 Oct 2022 11:00:29 +0000 Subject: [PATCH] 'Refactored by Sourcery' --- ecb/kr.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ecb/kr.py b/ecb/kr.py index 478378a..f0f777f 100644 --- a/ecb/kr.py +++ b/ecb/kr.py @@ -1,14 +1,11 @@ import pandas as pd import ecb def get_main_rate() -> pd.Series: - df = ecb.request_data.get_data_frame('MRR_FR') - return df + return ecb.request_data.get_data_frame('MRR_FR') def get_deposit_rate() -> pd.Series: - df = ecb.request_data.get_data_frame('DFR') - return df + return ecb.request_data.get_data_frame('DFR') def get_marginal_rate() -> pd.Series: - df = ecb.request_data.get_data_frame('MLFR') - return df + return ecb.request_data.get_data_frame('MLFR')