摘要: 仅作为调试用,简单粗暴 ALLOWED_HOSTS=['*'] CORS_ORIGIN_ALLOW_ALL = True 或者: 1. pip install django-cors-headers 2. INSTALLED_APPS = [ ... 'corsheaders', ... ] 3. 阅读全文
posted @ 2021-06-03 18:14 船长博客 阅读(728) 评论(0) 推荐(0) 编辑
摘要: 创建DataFrameF示例 val df = sc.parallelize(Seq( | (0,"cat26","cat26"), | (1,"cat67","cat26"), | (2,"cat56","cat26"), | (3,"cat8","cat26"))).toDF("Hour", " 阅读全文
posted @ 2021-06-03 18:08 船长博客 阅读(2032) 评论(0) 推荐(0) 编辑
永远相信美好的事情即将发生!