File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -285,22 +285,6 @@ def _init_mgr(
285
285
mgr = mgr .astype (dtype = dtype )
286
286
return mgr
287
287
288
- @classmethod
289
- def _from_mgr (cls , mgr : Manager ):
290
- """
291
- Fastpath to create a new DataFrame/Series from just a BlockManager/ArrayManager.
292
-
293
- Notes
294
- -----
295
- Skips setting `_flags` attribute; caller is responsible for doing so.
296
- """
297
- obj = cls .__new__ (cls )
298
- object .__setattr__ (obj , "_is_copy" , None )
299
- object .__setattr__ (obj , "_mgr" , mgr )
300
- object .__setattr__ (obj , "_item_cache" , {})
301
- object .__setattr__ (obj , "_attrs" , {})
302
- return obj
303
-
304
288
def _as_manager (self : NDFrameT , typ : str , copy : bool_t = True ) -> NDFrameT :
305
289
"""
306
290
Private helper function to create a DataFrame with specific manager.
You can’t perform that action at this time.
0 commit comments