Skip to content

Commit

Permalink
Merge pull request #99 from appliedAI-Initiative/readme-fixes
Browse files Browse the repository at this point in the history
Fix small README mistakes
  • Loading branch information
nicholasjng authored Oct 12, 2023
2 parents c90dc15 + 75ee86c commit 3b11a2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ df = pd.read_parquet('lakefs://quickstart/main/lakes.parquet', storage_options=s
You can then update data in LakeFS like so:

```python
df.to_csv('lakefs://quickstart/main/lakes.parquet', storage_options=storage_options)
df.to_parquet('lakefs://quickstart/main/lakes.parquet', storage_options=storage_options)
```

If the target file does not exist, it is created, otherwise, the existing file is updated.
Expand All @@ -72,8 +72,8 @@ If set to `create_branch_ok = False`, adressing non-existing branches causes an
The flag can also be set in scoped filesystem behaviour changes. Like so

```python
with fs.scope(create_branch_ok=False)
fs.put('lakefs://quickstart/test/lakes.parquet')
with fs.scope(create_branch_ok=False):
fs.put("lakes.parquet", 'quickstart/test/lakes.parquet')
```
This code throws an error should the `test` branch not exist.

Expand Down

0 comments on commit 3b11a2f

Please sign in to comment.