mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 04:52:07 +00:00
Fix shrs table (#5163)
This commit is contained in:
@@ -88,7 +88,7 @@ def display_shareholders(
|
||||
"""
|
||||
df = yahoo_finance_model.get_shareholders(symbol, holder)
|
||||
if holder == "major":
|
||||
df.columns = ["", ""]
|
||||
df.columns = ["Value", "Description"]
|
||||
if "Date Reported" in df.columns:
|
||||
df["Date Reported"] = df["Date Reported"].apply(
|
||||
lambda x: x.strftime("%Y-%m-%d")
|
||||
|
||||
Reference in New Issue
Block a user