File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 5959 " ### Install and import required modules"
6060 ]
6161 },
62+ {
63+ "metadata" : {
64+ "id" : " m3LGUDp6amuB"
65+ },
66+ "cell_type" : " code" ,
67+ "source" : [
68+ " %pip install --upgrade nbformat"
69+ ],
70+ "outputs" : [],
71+ "execution_count" : null
72+ },
6273 {
6374 "cell_type" : " code" ,
6475 "execution_count" : null ,
364375 " dataset = bq_utils.client.create_dataset(PROJECT_ID + '.' + DATASET_NAME,\n " ,
365376 " exists_ok=True)\n " ,
366377 " console_url = 'https://console.cloud.google.com/bigquery?project='\n " ,
367- " print(f'{console_url}{PROJECT_ID}\u0026 p ={PROJECT_ID}\u0026 d ={DATASET_NAME}\u0026 page =dataset')"
378+ " print(f'{console_url}{PROJECT_ID}&p ={PROJECT_ID}&d ={DATASET_NAME}&page =dataset')"
368379 ]
369380 },
370381 {
560571 " Negatives\n " ,
561572 " WHERE\n " ,
562573 " -- Sampling the negatives using predefined proportion.\n " ,
563- " rand_seed \u003c = (\n " ,
574+ " rand_seed < = (\n " ,
564575 " SELECT\n " ,
565576 " CAST(ratio_positive_to_negative AS float64)\n " ,
566577 " FROM\n " ,
640651 "id" : " aaGTphZaSq8k"
641652 },
642653 "outputs" : [],
643- "source" : [
644- " "
645- ]
654+ "source" : []
646655 }
647656 ],
648657 "metadata" : {
You can’t perform that action at this time.
0 commit comments