Skip to content

Conversation

rossw7
Copy link

@rossw7 rossw7 commented Jan 7, 2019

No description provided.

Copy link
Owner

@chamkank chamkank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rossw7
Thank you for your contribution! I've left a couple of comments

break
return data_rows

def data_type_check(self, cell_data,column_names):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately this doesn't seem to be working for examples/example_a.csv because the adopted_since column contains an integer value in the first row, but later has a string value (N/A) in that same column. One fix I can think of is rebuilding the cell_type list in the main file for every row we visit.


while row < len(cell_data):
while col < (len(column_names)):
if accountid.match(cell_data[row][col]):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly here, can we get rid of this accountid case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants