We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a967fc commit 679e45eCopy full SHA for 679e45e
pandas/io/gbq.py
@@ -11,7 +11,7 @@
11
from pandas.util._exceptions import find_stack_level
12
13
if TYPE_CHECKING:
14
- import google.auth
+ from google.auth.credentials import Credentials
15
16
from pandas import DataFrame
17
@@ -37,7 +37,7 @@ def read_gbq(
37
dialect: str | None = None,
38
location: str | None = None,
39
configuration: dict[str, Any] | None = None,
40
- credentials: google.auth.credentials.Credentials | None = None,
+ credentials: Credentials | None = None,
41
use_bqstorage_api: bool | None = None,
42
max_results: int | None = None,
43
progress_bar_type: str | None = None,
@@ -230,7 +230,7 @@ def to_gbq(
230
table_schema: list[dict[str, str]] | None = None,
231
232
progress_bar: bool = True,
233
234
) -> None:
235
warnings.warn(
236
"to_gbq is deprecated and will be removed in a future version. "
pandas/tests/io/test_parquet.py
@@ -1315,7 +1315,10 @@ def test_empty_dataframe(self, fp):
1315
check_round_trip(df, fp, expected=expected)
1316
1317
@pytest.mark.xfail(
1318
- reason="fastparquet bug, see https://github.com/dask/fastparquet/issues/929"
+ not using_copy_on_write()
1319
+ and _HAVE_FASTPARQUET
1320
+ and Version(fastparquet.__version__) > Version("2022.12"),
1321
+ reason="fastparquet bug, see https://github.com/dask/fastparquet/issues/929",
1322
)
1323
def test_timezone_aware_index(self, fp, timezone_aware_date_list):
1324
idx = 5 * [timezone_aware_date_list]
0 commit comments