bugfix fielpath
This commit is contained in:
		
							parent
							
								
									0fb03bee21
								
							
						
					
					
						commit
						7599305995
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -10,7 +10,7 @@ def load_data_RH_logger(filepath):
 | 
			
		|||
    header = header.strip('# ').rstrip('\n').split('|')
 | 
			
		||||
    header.append('X') # Empty col...
 | 
			
		||||
    
 | 
			
		||||
    df = pd.read_csv('_data.dat', sep=' ',  names=header, skiprows=1)
 | 
			
		||||
    df = pd.read_csv(filepath, sep=' ',  names=header, skiprows=1)
 | 
			
		||||
    df = df.drop(columns='X')
 | 
			
		||||
    df = df.drop(np.arange(1))
 | 
			
		||||
    
 | 
			
		||||
| 
						 | 
				
			
			@ -23,4 +23,4 @@ def load_data_RH_logger(filepath):
 | 
			
		|||
    del df['index']
 | 
			
		||||
    #df.head()
 | 
			
		||||
    #df = df[df['time'] > 301_000]
 | 
			
		||||
    return df
 | 
			
		||||
    return df
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue