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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![kern-python](https://uploads-ssl.webflow.com/61e47fafb12bd56b40022a49/62766400bd3c57b579d289bf_kern-python%20Banner.png)
[![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/)
[![pypi 0.0.3](https://img.shields.io/badge/pypi-0.0.3-yellow.svg)](https://pypi.org/project/kern-sdk/0.0.3/)
[![pypi 0.0.4](https://img.shields.io/badge/pypi-0.0.4-yellow.svg)](https://pypi.org/project/kern-sdk/0.0.4/)

# Kern AI API for Python

Expand Down
2 changes: 1 addition & 1 deletion kern/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_record_export(
api_response = api_calls.get_request(
url, self.session_token, **{"num_samples": num_samples}
)
df = pd.read_json(api_response)
df = pd.DataFrame(api_response)
if download_to is not None:
df.to_json(download_to, orient="records")
msg.good(f"Downloaded export to {download_to}")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="kern-sdk",
version="0.0.3",
version="0.0.4",
author="jhoetter",
author_email="johannes.hoetter@kern.ai",
description="Official SDK for the Kern AI API",
Expand Down