Skip to content

Commit 297c3f8

Browse files
committed
remove row_count check
1 parent 62d8274 commit 297c3f8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

bigframes/dataframe.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -794,10 +794,6 @@ def __repr__(self) -> str:
794794
pandas_df, row_count, query_job = self._block.retrieve_repr_request_results(
795795
max_results
796796
)
797-
if row_count is None:
798-
raise NotImplementedError(
799-
"Cannot determine total number of rows. Please use .to_pandas() to display."
800-
)
801797

802798
self._set_internal_query_job(query_job)
803799

@@ -883,10 +879,6 @@ def _repr_html_(self) -> str:
883879
pandas_df, row_count, query_job = df._block.retrieve_repr_request_results(
884880
max_results
885881
)
886-
if row_count is None:
887-
raise NotImplementedError(
888-
"Cannot determine total number of rows. Please use .to_pandas() to display."
889-
)
890882

891883
self._set_internal_query_job(query_job)
892884
column_count = len(pandas_df.columns)

0 commit comments

Comments
 (0)