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

fixed examples that use pandas to read hdf5 #940

Merged
merged 3 commits into from
Jan 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ctapipe/io/tests/test_hdf5.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_prefix(tmp_path):
) as writer:
writer.write('events', [hillas_parameter_container, leakage_container])

df = pd.read_hdf(tmp_file.name)
df = pd.read_hdf(tmp_file.name, key='/blabla/events')
assert 'hillas_x' in df.columns
assert 'leakage2_pixel' in df.columns

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies:
- numba
- numpy>=1.15.4
- numpydoc
- pandas=0.23.4
- pandas
- pytest
- pytest-cov
- psutil
Expand Down
392 changes: 200 additions & 192 deletions examples/notebooks/2018_lst_analysis_bootcamp.ipynb

Large diffs are not rendered by default.

36 changes: 19 additions & 17 deletions examples/notebooks/ctapipe_handson.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion py3.6_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies:
- numba
- numpy>=1.15.4
- numpydoc
- pandas=0.23.4
- pandas
- pytest
- pytest-cov
- psutil
Expand Down
2 changes: 1 addition & 1 deletion py3.7_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies:
- numba
- numpy>=1.15.4
- numpydoc
- pandas=0.23.4
- pandas
- pytest
- pytest-cov
- psutil
Expand Down