@@ -6130,7 +6130,7 @@ def shift(
61306130 .shift (periods = period , freq = freq , axis = axis , fill_value = fill_value )
61316131 .add_suffix (f"{ suffix } _{ period } " if suffix else f"_{ period } " )
61326132 )
6133- return concat (shifted_dataframes , axis = 1 )
6133+ return concat (shifted_dataframes , axis = 1 ) # bug
61346134 elif suffix :
61356135 raise ValueError ("Cannot specify `suffix` if `periods` is an int." )
61366136 periods = cast (int , periods )
@@ -11168,7 +11168,7 @@ def _append_internal(
1116811168
1116911169 from pandas .core .reshape .concat import concat
1117011170
11171- result = concat (
11171+ result = concat ( # possible bug
1117211172 [self , row_df ],
1117311173 ignore_index = ignore_index ,
1117411174 )
@@ -11396,12 +11396,12 @@ def join(
1139611396 # join indexes only using concat
1139711397 if can_concat :
1139811398 if how == "left" :
11399- res = concat (
11399+ res = concat ( # nobug
1140011400 frames , axis = 1 , join = "outer" , verify_integrity = True , sort = sort
1140111401 )
1140211402 return res .reindex (self .index )
1140311403 else :
11404- return concat (
11404+ return concat ( # bug
1140511405 frames , axis = 1 , join = how , verify_integrity = True , sort = sort
1140611406 )
1140711407
@@ -11590,7 +11590,9 @@ def _series_round(ser: Series, decimals: int) -> Series:
1159011590
1159111591 if new_cols is not None and len (new_cols ) > 0 :
1159211592 return self ._constructor (
11593- concat (new_cols , axis = 1 ), index = self .index , columns = self .columns
11593+ concat (new_cols , axis = 1 ),
11594+ index = self .index ,
11595+ columns = self .columns , # nobug
1159411596 ).__finalize__ (self , method = "round" )
1159511597 else :
1159611598 return self .copy (deep = False )
@@ -14173,7 +14175,7 @@ def isin(self, values: Series | DataFrame | Sequence | Mapping) -> DataFrame:
1417314175 from pandas .core .reshape .concat import concat
1417414176
1417514177 values = collections .defaultdict (list , values )
14176- result = concat (
14178+ result = concat ( # nobug
1417714179 (
1417814180 self .iloc [:, [i ]].isin (values [col ])
1417914181 for i , col in enumerate (self .columns )
0 commit comments