Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue there is no function for import pickle #239

Open
Adarsh-365 opened this issue Aug 10, 2023 · 0 comments
Open

issue there is no function for import pickle #239

Adarsh-365 opened this issue Aug 10, 2023 · 0 comments

Comments

@Adarsh-365
Copy link

Adarsh-365 commented Aug 10, 2023

so i created in core.py
def importPICKLE(self,filename=None, dialog=False,**kwargs): ftype = os.path.splitext(filename)[0] # print(ftype) if dialog == True: impdialog = ImportDialog(self, filename=filename) df = impdialog.df if df is None: return else: df = pd.read_pickle(filename, **kwargs) df.name=ftype self.tosave_name=df model = TableModel(dataframe=df) self.updateModel(model) self.redraw() self.importpath = os.path.dirname(filename)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant