def _upload_to_s3(bucket, path, results, aws_key=None, aws_secret=None):
    client = boto3.client('s3', aws_access_key_id=aws_key, aws_secret_access_key=aws_secret)
    client.put_object(Bucket=bucket, Key=path, Body=_df_to_csv_str(results))
def _upload_to_s3(bucket, path, results, aws_key=None, aws_secret=None):
    client = boto3.client('s3', aws_access_key_id=aws_key, aws_secret_access_key=aws_secret)
    client.put_object(Bucket=bucket, Key=path, Body=_df_to_csv_str(results))