Skip to content

Commit

Permalink
Update README and release YAML to reflect python 3.9 support (#658)
Browse files Browse the repository at this point in the history
* Update README and release YAML to reflect python 3.9 support

* Fix lint error
  • Loading branch information
gtopper authored Jan 8, 2024
1 parent ccb4784 commit e704b22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.9

- name: Set version
run: make set-version
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The library was developed by Iguazio to simplify working with data in the [Iguaz
<a id="python-version"></a>
#### Python Version

The current version of Frames supports Python 3.6 and 3.7.
The current version of Frames supports Python 3.7 and 3.9.

<a id="initialization"></a>
#### Initialization
Expand Down
2 changes: 1 addition & 1 deletion clients/py/v3io_frames/pbutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def df2msg(df, labels=None, index_cols=None):
indices = None
if index_cols is not None:
# if there is already an index set, we want to preserve it.
if not (type(df.index) == pd.RangeIndex and df.index.name is None):
if not (isinstance(df.index, pd.RangeIndex) and df.index.name is None):
df.reset_index(inplace=True)
indices = [series2col(df[name], name) for name in index_cols]
cols = [col for col in df.columns if col not in index_cols]
Expand Down

0 comments on commit e704b22

Please sign in to comment.