mirror of
				https://github.com/run-llama/llama-hub.git
				synced 2025-11-04 03:39:58 +00:00 
			
		
		
		
	add concat rows to pandas excel (#262)
Co-authored-by: Jerry Liu <jerryjliu98@gmail.com>
This commit is contained in:
		
							parent
							
								
									bf10b903df
								
							
						
					
					
						commit
						62f94d0eba
					
				@ -28,11 +28,13 @@ class PandasExcelReader(BaseReader):
 | 
			
		||||
        self,
 | 
			
		||||
        *args: Any,
 | 
			
		||||
        pandas_config: dict = {},
 | 
			
		||||
        concat_rows: bool = True,
 | 
			
		||||
        **kwargs: Any
 | 
			
		||||
    ) -> None:
 | 
			
		||||
        """Init params."""
 | 
			
		||||
        super().__init__(*args, **kwargs)
 | 
			
		||||
        self._pandas_config = pandas_config
 | 
			
		||||
        self._concat_rows = concat_rows
 | 
			
		||||
 | 
			
		||||
    def load_data(
 | 
			
		||||
        self, file: Path, sheet_name: Optional[Union[str, int]] = None, extra_info: Optional[Dict] = None
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user