mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-31 14:31:20 +00:00
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
@@ -1086,7 +1086,7 @@ def plot_usrates(
|
||||
|
||||
if raw:
|
||||
# was a -iloc so we need to flip the index as we use head
|
||||
df = pd.DataFrame(df, columns=[parameter])
|
||||
df = pd.DataFrame(df, columns=[series_id])
|
||||
df = df.sort_index(ascending=False)
|
||||
print_rich_table(
|
||||
df,
|
||||
@@ -1101,7 +1101,7 @@ def plot_usrates(
|
||||
export,
|
||||
os.path.dirname(os.path.abspath(__file__)),
|
||||
series_id,
|
||||
pd.DataFrame(df, columns=[parameter]) / 100,
|
||||
pd.DataFrame(df, columns=[series_id]) / 100,
|
||||
sheet_name,
|
||||
fig,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user