SEOD-1326. Bump fireant to pandas version 2 #366
Merged
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.
pandas
(2.0.3 in requirements) and add the minimum version 2.0.0 ofpandas
to pyproject.tomlvertica-python
(1.3.4 in requirements) and add the minimum version 1.0.0 ofvertica-python
to pyproject.tomlsnowflake-connector-python
(3.0.4 in requirements) and add the minimum version 3.0.0 ofsnowflake-connector-python
to pyproject.tomlcoverage
(7.3.0 in requirements) and add the minimum version 7.3.0 ofcoverage
to pyproject.tomlwatchdog
(3.0.0 in requirements) and add the minimum version 3.0.0 ofwatchdiog
to pyproject.tomlpython-dateutil
from dependencies as it is part of other libraries' dependenciespsycopg-binary==2.9.6
though it seems not needed for the testspymssql==2.2.7
though it seems not needed for the testsCython==3.0.0
though it seems not needed for the testsSyntaxWarning: "is" with a literal. Did you mean "=="?
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
Dataframe.append
topd.concat
becauseappend
does not exist since pandas v2group_keys=False
toDataFrame.groupby()
method because it is no longer ignored since pandas v1.5_apply_share
method forShare
s with the new libraries.TestDatabase
toMockDatabase
since it is used only for mocking. This is beneficial also because Python testing method will not delve into it to find methods to runtest_connect
andtest_fetch
tomock_connect
andmock_fetch
as these are mocks. This is beneficial also because Python testing method will not delve into it to find methods to runTestMySQLDatabase
toMockMySQLDatabase
for the same reasonDataFrames
, use.tail(1)
instead of.iloc[-1]
as it includes indexesDataFrames
in tests instead of applying methods offireant
to aDataFrame
to get those expectedDataFrames
np.float
tofloat
since it was deprecatedNone
and[]
asascending
parameters forPandas
class.iteritems()
with.items()
as the former method was deprecated