Closed JohnsL-U closed 11 months ago
Location based calculation algorithm is completely changed. Now our model checks for city, country matches and assigns scores respectively. Stories are not permitted to be posted without location. However, some locations may or may not have city or country (seas, oceans, air space etc.). Additionally , legacy users may have some stories without city, country fields. We have decided to assign a default score of 0 for these cases.
Description: DataFrame manipulation using Pandas is leading to warnings and errors that affect the stability and functionality of the application. Internal Server Errors are being generated for random users.
calculate_location_proximity function is not returning a same length series with non_user_stories. This length mismatch between the Series and the DataFrame it's being assigned to is causing a Value Error.