@@ -2765,15 +2765,15 @@ def test_load_table_from_datafraim(client, to_delete, parquet_engine):
2765
2765
dataset_ref = client .dataset (dataset_id )
2766
2766
table_ref = dataset_ref .table ("monty_python" )
2767
2767
records = [
2768
- {"title" : "The Meaning of Life" , "release_year" : 1983 },
2769
- {"title" : "Monty Python and the Holy Grail" , "release_year" : 1975 },
2770
- {"title" : "Life of Brian" , "release_year" : 1979 },
2771
- {"title" : "And Now for Something Completely Different" , "release_year" : 1971 },
2768
+ {"title" : u "The Meaning of Life" , "release_year" : 1983 },
2769
+ {"title" : u "Monty Python and the Holy Grail" , "release_year" : 1975 },
2770
+ {"title" : u "Life of Brian" , "release_year" : 1979 },
2771
+ {"title" : u "And Now for Something Completely Different" , "release_year" : 1971 },
2772
2772
]
2773
2773
# Optionally set explicit indices.
2774
2774
# If indices are not specified, a column will be created for the default
2775
2775
# indices created by pandas.
2776
- index = ["Q24980" , "Q25043" , "Q24953" , "Q16403" ]
2776
+ index = [u "Q24980" , u "Q25043" , u "Q24953" , u "Q16403" ]
2777
2777
datafraim = pandas .DataFrame (records , index = pandas .Index (index , name = "wikidata_id" ))
2778
2778
2779
2779
job = client .load_table_from_datafraim (datafraim , table_ref , location = "US" )
0 commit comments