Skip to content

Commit

Permalink
minor tweak (#2169)
Browse files Browse the repository at this point in the history
### Type of change

- [x] Documentation Update
  • Loading branch information
writinwaters authored Nov 5, 2024
1 parent 8e06d27 commit b341c7f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/references/pysdk_api_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2078,8 +2078,9 @@ This method specifies the projection columns for the current table but does not

```python
table_obj.output(["doctitle", "docdate", "body"]).highlight(["body"]).match_text("body^5", "harmful chemical", 3).to_pl()
# The matched words will be enclosed in <em> and </em>
```

# The matched words will be embraced by <em> and </em>
---

## fusion
Expand Down Expand Up @@ -2243,17 +2244,17 @@ Returns the query result in pandas DataFrame format.
Call `to_df()` in a chain after (not necessarily "immediately after") `output(columns)` on the same table object.
:::

### Returns

A `pandas.DataFrame` object.

### Examples

```python
# Format columns "c1" and C2" of the current table into a pandas DataFrame
res = table_object.output(["c1", "c2"]).to_df()
```

### Returns

A `pandas.DataFrame` object.

## to_pl

```python
Expand Down

0 comments on commit b341c7f

Please sign in to comment.