fix whitespace
This commit is contained in:
		
							parent
							
								
									dc6d0fb7d8
								
							
						
					
					
						commit
						fe93780f8f
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -9,14 +9,14 @@ def load_data_RH_logger(filepath):
 | 
			
		|||
        header = f.readline()
 | 
			
		||||
    header = header.strip('# ').rstrip('\n').split('|')
 | 
			
		||||
    header.append('X') # Empty col...
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    df = pd.read_csv(filepath, sep=' ',  names=header, skiprows=1)
 | 
			
		||||
    df = df.drop(columns='X')
 | 
			
		||||
    df = df.drop(np.arange(1))
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    df['dm_m'] = (df['weight'] - df['weight'].iloc[0]) / df['weight'].iloc[0]
 | 
			
		||||
    
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    # Crop data
 | 
			
		||||
    #df = df.drop(df[df['time'] < 0.02 * 3600].index)
 | 
			
		||||
    df = df.reset_index()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue