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

Feat request: read multiple observation sequence files #6

Open
hkershaw-brown opened this issue May 17, 2024 · 1 comment
Open

Feat request: read multiple observation sequence files #6

hkershaw-brown opened this issue May 17, 2024 · 1 comment

Comments

@hkershaw-brown
Copy link
Member

Read in multiple obs_seq files into one obs_seq instance.

import obs_sequence as dart_os
obs_seq = dart_os.obs_sequence('obs_seq.final.ascii', 'obs_seq.final.ascii2', 'obs_seq.final.ascii3', ...)
obs_seq.df
@hkershaw-brown
Copy link
Member Author

hkershaw-brown commented May 17, 2024

or, keep each file as an instance.

files = ['file1.ascii', 'file2.ascii', 'file3.ascii']
obs_sequences = [obs_sequence(file) for file in files]

then join the dataframes #7

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