GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — Session.virtualfile_to_dataset: Add new parameters 'dtype'/'index_col' for pandas output by seisman · Pull Request #3140 · GenericMappingTools/pygmt Conversation
| |||||||||||||
| @@ -1747,6 +1747,8 @@ def virtualfile_to_dataset( | |||
| vfname: str, | |||
| output_type: Literal["pandas", "numpy", "file"] = "pandas", | |||
| column_names: list[str] | None = None, | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
In Session.virtualfile_to_dataset, do we want to rename column_names to names?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done in f211b7d.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I kinda prefer column_names, we don't necessarily need to follow pd.read_csv here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Do you mean using column_names in both GMT_DATASET.to_dataframe and Session.virtualfile_to_dataset?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes, i.e. revert f211b7d
Sorry, something went wrong.
There was an error while loading. Please reload this page.
9f67844 to
4554e63
Compare
f211b7d to
a3d7768
Compare
There was an error while loading. Please reload this page.
Co-authored-by: Yvonne Fröhlich <[email protected]>
…s' to 'names'" This reverts commit a3d7768.
f11dc89 to
abda146
Compare
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.