Skip to content

Commit

Permalink
Fix row index to access the dataframe
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus89 committed Nov 13, 2019
1 parent 2b3c64c commit af2f93e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cartoframes/data/dataset/registry/dataframe_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ def _is_valid_index_for_cartodb_id(index):


def _rows(df, dataframe_columns_info, with_lnglat):
num_rows = df.shape[0]
for index in range(num_rows):
for index, _ in df.iterrows():
row_data = []
for c in dataframe_columns_info.columns:
col = c.dataframe
Expand Down

0 comments on commit af2f93e

Please sign in to comment.