@@ -149,11 +149,10 @@ def test_to_csv_index(
149
149
# read_csv will decode into bytes inproperly, convert_pandas_dtypes will encode properly from string
150
150
dtype .pop ("bytes_col" )
151
151
gcs_df = pd .read_csv (
152
- path ,
152
+ path . replace ( "*" , "000000000000" ) ,
153
153
dtype = dtype ,
154
154
date_format = {"timestamp_col" : "YYYY-MM-DD HH:MM:SS Z" },
155
155
index_col = index_col ,
156
- storage_options = dict (expand = True ),
157
156
)
158
157
convert_pandas_dtypes (gcs_df , bytes_col = True )
159
158
gcs_df .index .name = scalars_df .index .name
@@ -188,12 +187,11 @@ def test_to_csv_tabs(
188
187
# read_csv will decode into bytes inproperly, convert_pandas_dtypes will encode properly from string
189
188
dtype .pop ("bytes_col" )
190
189
gcs_df = pd .read_csv (
191
- path ,
190
+ path . replace ( "*" , "000000000000" ) ,
192
191
sep = "\t " ,
193
192
dtype = dtype ,
194
193
date_format = {"timestamp_col" : "YYYY-MM-DD HH:MM:SS Z" },
195
194
index_col = index_col ,
196
- storage_options = dict (expand = True ),
197
195
)
198
196
convert_pandas_dtypes (gcs_df , bytes_col = True )
199
197
gcs_df .index .name = scalars_df .index .name
@@ -435,10 +433,9 @@ def test_to_json_index_records_orient(
435
433
scalars_df .to_json (path , index = index , orient = "records" , lines = True )
436
434
437
435
gcs_df = pd .read_json (
438
- path ,
436
+ path . replace ( "*" , "000000000000" ) ,
439
437
lines = True ,
440
438
convert_dates = ["datetime_col" ],
441
- storage_options = dict (expand = True ),
442
439
)
443
440
convert_pandas_dtypes (gcs_df , bytes_col = True )
444
441
if index and scalars_df .index .name is not None :
0 commit comments