mirror of
https://github.com/firmai/financial-machine-learning.git
synced 2026-08-23 07:48:08 +00:00
bug fix for collapsible section
This commit is contained in:
+2
-2
@@ -69,9 +69,9 @@ def generate_wiki_per_category(output_path, update_readme: bool = True):
|
|||||||
with open(os.path.join(PROJECT_ROOT_DIR, 'README.md'), 'w') as f:
|
with open(os.path.join(PROJECT_ROOT_DIR, 'README.md'), 'w') as f:
|
||||||
table_str = formatted_df.iloc[:5].to_markdown(index=False)
|
table_str = formatted_df.iloc[:5].to_markdown(index=False)
|
||||||
collapsible_str = """
|
collapsible_str = """
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><sub>next 5</sub></summary>
|
<summary>next 5</summary>
|
||||||
|
|
||||||
{}
|
{}
|
||||||
</details>
|
</details>
|
||||||
""".format(formatted_df.iloc[5:10].to_markdown(index=False))
|
""".format(formatted_df.iloc[5:10].to_markdown(index=False))
|
||||||
|
|||||||
Reference in New Issue
Block a user