adamerose / adamerose/PandasGUI
Add more file type export options to GUI.py
- 主要語言
- Python
- 星號
- 3.3k
- 分支
- 239
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Since PG allows modifications and joins, I wanted to re-save the pickles.
In GUI.py at 351, I simply added more options.
```
def export_dialog(self):
dialog = QtWidgets.QFileDialog()
pgdf = self.store.selected_pgdf
path, _ = dialog.getSaveFileName(directory=pgdf.name, filter="CSV (*.csv);;Python files (*.pkl *.hdf *.sql)")
if path:
if path[-3:]== 'csv':
pgdf.df.to_csv(path, index=False)
elif path[-3:]== 'pkl':
pgdf.df.to_pickle(path)
elif path[-3:]== 'hdf':
pgdf.df.to_hdf(path)
elif path[-3:]== 'sql':
pgdf.df.to_sql(path)
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。