Skip to content

Commit

Permalink
Merge pull request #54 from kthyng/fix
Browse files Browse the repository at this point in the history
small fix to "dropna" optional functionality
  • Loading branch information
kthyng authored Jun 28, 2023
2 parents 6f585cb + 51993f3 commit 97b1825
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions intake_erddap/erddap.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,7 @@ def run_mask_failed_qartod(self):

def run_dropna(self):
"""Drop nan rows based on the data columns."""
self._dataframe = self._dataframe.dropna(subset=self.data_cols).reset_index(
drop=True
)
self._dataframe = self._dataframe.dropna(subset=self.data_cols)

def _get_dataset_metadata(self) -> dict:
"""Fetch and return the metadata document for the dataset."""
Expand Down

0 comments on commit 97b1825

Please sign in to comment.