Created
April 22, 2019 14:06
-
-
Save NimishMishra/789e17a3d21c909970fab5f0c9cf32ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def find_product_value(LATITUDE_ROW_NUMBER, LONGITUDE_COLUMN_NUMBER, SUBDATASET, FILEPATH): | |
dataset = read_dataset(SUBDATASET, FILEPATH) | |
if(LATITUDE_ROW_NUMBER < 0 or LONGITUDE_COLUMN_NUMBER < 0): | |
return -1 | |
return dataset.iloc[LATITUDE_ROW_NUMBER][LONGITUDE_COLUMN_NUMBER] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment