-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Open
Labels
Closing CandidateMay be closeable, needs more eyeballsMay be closeable, needs more eyeballsEnhancementNeeds TriageIssue that has not been reviewed by a pandas team memberIssue that has not been reviewed by a pandas team member
Description
Feature Type
-
Adding new functionality to pandas
-
Changing existing functionality in pandas
-
Removing existing functionality in pandas
Problem Description
I hope this function can use to keep two or more dataframe same like PyQt View and Model (if I revise model view will change )
Feature Description
from typing import Callable
class Index():
def init(self,column = -1,row = -1):
self.column = column
self.row = row
def check(self,reviseRange):
"""if self.column,self.index in range return True"""
return True
class dataframe:
def init(self):
self.handlers = {Index:Callable}#index,function
def _trigger(self,reviseRange):
"""use @ to adapt iloc loc setitem """
for i,f in self.handlers.items():
if i.check():
f(reviseRange)
Alternative Solutions
pyqt singal
Additional Context
No response
Metadata
Metadata
Assignees
Labels
Closing CandidateMay be closeable, needs more eyeballsMay be closeable, needs more eyeballsEnhancementNeeds TriageIssue that has not been reviewed by a pandas team memberIssue that has not been reviewed by a pandas team member