Skip to content

Commit

Permalink
Sync (#69)
Browse files Browse the repository at this point in the history
* Allow no drawing of CI (#61)

* Allow no drawing of CI (#58)

* Update CI.yml

* Update nb.yml

* Update options (#58)

* Increase images

* Bump to v0.3.0 (#58)

* Patch (#68)

* Update branches in workflows
* Replacing append with concat in Pandas (#66)
  • Loading branch information
LSYS authored Apr 6, 2023
1 parent aaea789 commit 33ac52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forestplot/dataframe_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def reverse_dataframe(dataframe: pd.core.frame.DataFrame) -> pd.core.frame.DataF
def insert_empty_row(dataframe: pd.core.frame.DataFrame) -> pd.core.frame.DataFrame:
"""Add an empty row to the top of the dataframe."""
_df = pd.DataFrame([[np.nan] * len(dataframe.columns)], columns=dataframe.columns)
dataframe = _df.append(dataframe, ignore_index=True)
dataframe = pd.concat([_df, dataframe], axis=0, ignore_index=True)
return dataframe


Expand Down

0 comments on commit 33ac52f

Please sign in to comment.