generalization #6
							
								
								
									
										14
									
								
								Sport/Descriptive_statistics/generate_dataset_DS.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								Sport/Descriptive_statistics/generate_dataset_DS.py
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,14 @@
 | 
				
			||||||
 | 
					import pandas as pd
 | 
				
			||||||
 | 
					import numpy as np
 | 
				
			||||||
 | 
					import os
 | 
				
			||||||
 | 
					import s3fs
 | 
				
			||||||
 | 
					import re
 | 
				
			||||||
 | 
					import warnings
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Create filesystem object
 | 
				
			||||||
 | 
					S3_ENDPOINT_URL = "https://" + os.environ["AWS_S3_ENDPOINT"]
 | 
				
			||||||
 | 
					fs = s3fs.S3FileSystem(client_kwargs={'endpoint_url': S3_ENDPOINT_URL})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Ignore warning
 | 
				
			||||||
 | 
					warnings.filterwarnings('ignore')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user