Do not merge or delete: Py36 compatibility branch #1162
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
It was requested that a newer version of the SDK was made Py36 compatible. This branch is it.
Note
v2
tov5
. The most important are:v4
brought new credential classes: https://cognite-sdk-python.readthedocs-hosted.com/en/latest/cognite.html#authenticatev5
overhauled datapoints fetching: https://github.com/cognitedata/cognite-sdk-python/blob/master/MIGRATION_GUIDE.mdto_pandas
conversions. Do not useretrieve_dataframe
withuniform_index=True
unless you usepandas >= 1.4
(requires PY38 😉 )How to
pip install
:pip install git+https://github.com/cognitedata/cognite-sdk-python@py36-compat
Other
Ref. internal slack: https://cognitedata.slack.com/archives/C0252J883DG/p1677671617290589