Skip to content
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
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ git remote add upstream [email protected]:pbs-data-solutions/prelude-parser
This creates the directory prelude-parser and connects your repository to the upstream
(main project) repository.

Next create a vitural environment and activate it.
Next create a virtual environment and activate it.

```sh
uv venv
Expand Down Expand Up @@ -160,7 +160,7 @@ the code coverage by running:
just test
```

In additon to mainting the coverage percentage please ensure that all tests are passing before
In addition to mainting the coverage percentage please ensure that all tests are passing before
submitting a pull request.

## Committing your code
Expand Down Expand Up @@ -247,7 +247,7 @@ git fetch upstream
git rebase upstream/main
```

There may be some merge conficts that need to be resolved. After the feature branch has been update
There may be some merge conflicts that need to be resolved. After the feature branch has been update
locally, you can now update your pull request by pushing to the branch on GitHub:

```sh
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ data = parse_to_classes("physical_examination.xml")
```

Parse a Prelude flat XML file into a Pandas DataFrame. This works for Prelude flat XML files that
were exported with the "write tables to seperate files" option. In order to use this option
were exported with the "write tables to separate files" option. In order to use this option
`prelude-parser` either needs to be installed with the `pandas` extra or the `all` extras.

```py
Expand All @@ -60,7 +60,7 @@ df = to_dataframe("physical_examination.xml")
```

Parse a Prelude flat XML file into a Polars DataFrame. This works for Prelude flat XML files that
were exported with the "write tables to seperate files" option. In order to use this option
were exported with the "write tables to separate files" option. In order to use this option
`prelude-parser` either needs to be installed with the `polars` extra or the `all` extras.

```py
Expand Down
2 changes: 1 addition & 1 deletion prelude_parser/pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class UnsupportedPythonVersionError(Exception):
def to_dataframe(xml_file: str | Path, *, short_names: bool = False) -> pd.DataFrame:
"""Parse a Prelude flat XML file into a Pandas DataFrame.

This works for Prelude flat XML files that were exported with the "write tables to seperate
This works for Prelude flat XML files that were exported with the "write tables to separate
files" option.

Args:
Expand Down
2 changes: 1 addition & 1 deletion prelude_parser/polars.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def to_dataframe(xml_file: str | Path, *, short_names: bool = False) -> pl.DataFrame:
"""Parse a Prelude flat XML file into a Polars DataFrame.

This works for Prelude flat XML files that were exported with the "write tables to seperate
This works for Prelude flat XML files that were exported with the "write tables to separate
files" option.

Args:
Expand Down