Skip to content

Commit

Permalink
get rid of keep_default_na too
Browse files Browse the repository at this point in the history
  • Loading branch information
qyx268 committed Jan 23, 2024
1 parent d91ec00 commit b1b4977
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion astrodatapy/clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, feature=None, z_target=None, quiet=False, \
return

def _load_info(self):
info = pd.read_csv(self.folder + self.feature + '/info.txt',\
info = pd.read_csv(self.folder + self.feature + '/info.txt', keep_default_na=False,\
sep='\t\t', skiprows=self.info_skiprows, engine='python')
info.set_index('#Name', inplace=True)
self.n_available_observation = len(info.index.values)
Expand Down
2 changes: 1 addition & 1 deletion astrodatapy/correlation.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(self, feature=None, z_target=None, quiet=False, \
return

def _load_info(self):
info = pd.read_csv(self.folder + self.feature + '/info.txt',\
info = pd.read_csv(self.folder + self.feature + '/info.txt', keep_default_na=False, \
sep='\t\t', skiprows=self.info_skiprows, engine='python')
info.set_index('#Name', inplace=True)
self.n_available_observation = len(info.index.values)
Expand Down
2 changes: 1 addition & 1 deletion astrodatapy/number_density.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(self, feature=None, z_target=None, quiet=False, \
return

def _load_info(self):
info = pd.read_csv(self.folder + self.feature + '/info.txt',\
info = pd.read_csv(self.folder + self.feature + '/info.txt', keep_default_na=False,\
delim_whitespace=True, skiprows=self.info_skiprows, engine='python')
info.set_index('#Name', inplace=True)
self.n_available_observation = len(info.index.values)
Expand Down

0 comments on commit b1b4977

Please sign in to comment.