Skip to content

Commit

Permalink
fix line length
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Meech committed Apr 9, 2024
1 parent 6f3bfd2 commit 82c0852
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion brainglobe_utils/pandas/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def safe_pandas_concat(df1: pd.DataFrame, df2: pd.DataFrame) -> pd.DataFrame:
Concatenate two DataFrames without relying on deprecated functionality
when one of the DataFrames is empty.
If df1 and df2 are non-empty, return the concatenation. df2 will extend df1 in the resulting DataFrame.
If df1 and df2 are non-empty, return the concatenation. df2 will extend df1
in the resulting DataFrame.
If df1 is empty and df2 is not, return a copy of df2.
If df1 is non-empty and df2 is, return a copy of df1.
If df1 and df2 are empty, return an empty DataFrame with the same column
Expand Down

0 comments on commit 82c0852

Please sign in to comment.