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

Add kwarg delimiter to TextWriter #5

Merged
merged 4 commits into from
Jan 2, 2018
Merged

Conversation

minhhaiphys
Copy link
Contributor

Add kwarg delimiter='|' to the function TextWriter to provide users with flexibility in importing text files into analysis tools such as Excel or JMP.

Note that this change affects only the function TextWriter in the Writers module. Needs some follow up work on the script stdf2text to add the option from command line (but this can be OS-dependent so one needs to be careful).

minhhaiphys and others added 4 commits December 19, 2017 11:53
To provide users with flexibility in importing text files into analysis tools such as Excel or JMP.
To assist data analysis. Note: this module needs ```pandas``` package. Developed and tested with pandas v0.18.
Script to convert STDF to MS Excel: ```stdf2excel <input> [output]```.
Need pandas. Developed and tested with pandas v.0.18.
No support for compressed files such as gzip.
Add stdf2text functionality
@minhhaiphys
Copy link
Contributor Author

Add import and export functionalities:

  • Import STDF into list of Text/Dictionary/DataFrame objects for data analysis
  • Export STDF to MS Excel format

The above enhancements are kept in separate files to minimize any negative affect on the current branch. Note that the new import functions don't support compressed files (this requires re-architect the modules, hence is left for future dev).

New requirement: Pandas (tested on version 0.18).

@cmars cmars merged commit e0fc4f9 into cmars:master Jan 2, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants