We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f945c5e + 4e22a94 commit 300805cCopy full SHA for 300805c
1 file changed
pyxlma/lmalib/io/read.py
@@ -420,8 +420,8 @@ def __init__(self,filename):
420
'sources','percent','<P/P_m>','active'])
421
# Drop the station name column that has a redundant station letter code
422
# as part of the name and join on station letter code.
423
- station_combo = stations.set_index('ID').drop(columns=['Name']).join(
424
- overview.set_index('ID'))
+ station_combo = stations.set_index(['ID','Name']).join(
+ overview.set_index(['ID','Name']))
425
self.stations = station_combo.reset_index(level=station_combo.index.names)
426
427
def gen_sta_info(self):
0 commit comments