Fix shrs table (#5163)

This commit is contained in:
Igor Radovanovic
2023-06-21 14:10:38 +02:00
committed by GitHub
parent 346e4bc89b
commit 2fffa59b8b

View File

@@ -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")