You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The arguments to many functions in the code is passed like : "def update_relevancies(self, new_relevancies: pd.DataFrame):"
When I tried to run this code, I get "SyntaxError: invalid syntax" error message.
I changed the argument passing to "def update_relevancies(self, new_relevancies = pd.DataFrame):" replacing : with = and then there was no error message.
Is this due to difference in the Python version or due to another issue?
The text was updated successfully, but these errors were encountered:
Sorry for the very late response, as I didn't get a notification for this.
The : pd.DataFrame is a type hint first introduced in Python 3.5, you will have to use at least that version to run HiCS. Hope this helps.
The arguments to many functions in the code is passed like : "def update_relevancies(self, new_relevancies: pd.DataFrame):"
When I tried to run this code, I get "SyntaxError: invalid syntax" error message.
I changed the argument passing to "def update_relevancies(self, new_relevancies = pd.DataFrame):" replacing : with = and then there was no error message.
Is this due to difference in the Python version or due to another issue?
The text was updated successfully, but these errors were encountered: