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(
285285 mgr = mgr .astype (dtype = dtype )
286286 return mgr
287287
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-
304288 def _as_manager (self : NDFrameT , typ : str , copy : bool_t = True ) -> NDFrameT :
305289 """
306290 Private helper function to create a DataFrame with specific manager.
You can’t perform that action at this time.
0 commit comments