Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
This report summarizes scanner evidence for pandas-dev/pandas, a Python project with 49,993 GitHub stars. SynthScan examined 773,029 lines of code across 1792 source files, recording 17149 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 26.0 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 14355 finding(s).
Are imports declared and package/API names verified? 1732 finding(s).
Are wrappers, guards, and repeated structures necessary? 14524 finding(s).
Which changes need focused human review? 17149 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 17149 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/tests/test_pandas_web.py | 86 | def test_web_preprocessor_creates_releases(mock_response, context) -> None: | CODE |
| LOW | web/tests/test_pandas_web.py | 108 | def test_web_main_overlapping_source_and_target(tmp_path, target) -> None: | CODE |
| LOW | web/tests/test_pandas_web.py | 121 | def test_web_main_disjoint_source_and_target(tmp_path) -> None: | CODE |
| LOW | asv_bench/benchmarks/arithmetic.py | 54 | def time_frame_op_with_scalar(self, dtype, scalar, op): | CODE |
| LOW | asv_bench/benchmarks/arithmetic.py | 68 | def time_frame_op_with_fill_value_no_nas(self): | CODE |
| LOW | asv_bench/benchmarks/arithmetic.py | 71 | def time_series_op_with_fill_value_no_nas(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/arithmetic.py | 228 | def time_frame_float_div_by_zero(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/arithmetic.py | 231 | def time_frame_float_floor_by_zero(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/arithmetic.py | 234 | def time_frame_int_div_by_zero(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/arithmetic.py | 270 | def time_series_timestamp_compare(self, tz): | CODE |
| LOW⚡ | asv_bench/benchmarks/arithmetic.py | 273 | def time_series_timestamp_different_reso_compare(self, tz): | CODE |
| LOW⚡ | asv_bench/benchmarks/arithmetic.py | 276 | def time_timestamp_series_compare(self, tz): | CODE |
| LOW⚡ | asv_bench/benchmarks/arithmetic.py | 282 | def time_timestamp_ops_diff_with_shift(self, tz): | CODE |
| LOW | asv_bench/benchmarks/arithmetic.py | 384 | def time_timedelta_plus_datetime(self, df): | CODE |
| LOW | asv_bench/benchmarks/arithmetic.py | 475 | def time_binary_op_multiindex(self, func): | CODE |
| LOW | asv_bench/benchmarks/frame_ctor.py | 53 | def time_nested_dict_index_columns(self): | CODE |
| LOW | asv_bench/benchmarks/frame_ctor.py | 60 | def time_dict_of_categoricals(self): | CODE |
| LOW | asv_bench/benchmarks/frame_ctor.py | 84 | def time_dict_with_timestamp_offsets(self, offset): | CODE |
| LOW | asv_bench/benchmarks/frame_ctor.py | 100 | def time_frame_from_records_generator(self, nrows): | CODE |
| LOW⚡ | asv_bench/benchmarks/frame_ctor.py | 176 | def time_frame_from_arrays_float(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/frame_ctor.py | 184 | def time_frame_from_arrays_int(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/frame_ctor.py | 192 | def time_frame_from_arrays_sparse(self): | CODE |
| LOW | asv_bench/benchmarks/gil.py | 196 | def time_datetime_field_daysinmonth(self): | CODE |
| LOW | asv_bench/benchmarks/gil.py | 203 | def time_datetime_field_normalize(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/ctors.py | 100 | def time_index_from_array_string(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/ctors.py | 103 | def time_index_from_array_floats(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/ctors.py | 109 | def time_dtindex_from_index_with_series(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/ctors.py | 118 | def time_multiindex_from_iterables(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/ctors.py | 132 | def time_from_list_of_timestamps(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/ctors.py | 138 | def time_from_list_of_datetimes(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/ctors.py | 144 | def time_from_list_of_str_with_tz(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 154 | def time_join_dataframe_index_multi(self, sort): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 157 | def time_join_dataframe_index_single_key_bigger(self, sort): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 160 | def time_join_dataframe_index_single_key_small(self, sort): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 163 | def time_join_dataframe_index_shuffle_key_bigger_sort(self, sort): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 166 | def time_join_dataframes_cross(self, sort): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 192 | def time_join_multiindex_subset(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 202 | def time_inner_join_left_empty(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 205 | def time_inner_join_right_empty(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 263 | def time_merge_dataframe_integer_key(self, sort): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 266 | def time_merge_dataframe_empty_right(self, sort): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 269 | def time_merge_dataframe_empty_left(self, sort): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 272 | def time_merge_dataframes_cross(self, sort): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 652 | def time_left_join_sorted_baseline(self, n): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 655 | def time_left_join_unsorted_left(self, n): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 658 | def time_right_join_unsorted_right(self, n): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 661 | def time_left_join_zero_match_unsorted_left(self, n): | CODE |
| LOW | asv_bench/benchmarks/join_merge.py | 180 | def time_left_outer_join_index(self): | CODE |
| LOW | asv_bench/benchmarks/join_merge.py | 222 | def time_join_non_unique_equal(self): | CODE |
| LOW | asv_bench/benchmarks/join_merge.py | 600 | def time_merge_sorted_multiindex(self, dtypes, how): | CODE |
| LOW | asv_bench/benchmarks/join_merge.py | 620 | def time_series_align_left_monotonic(self): | CODE |
| LOW | asv_bench/benchmarks/index_object.py | 60 | def time_datetime_difference_disjoint(self): | CODE |
| LOW | asv_bench/benchmarks/index_object.py | 69 | def time_union_with_duplicates(self): | CODE |
| LOW | asv_bench/benchmarks/index_object.py | 119 | def time_non_object_equals_multiindex(self): | CODE |
| LOW | asv_bench/benchmarks/index_object.py | 144 | def time_append_range_list_same(self): | CODE |
| LOW | asv_bench/benchmarks/index_object.py | 198 | def time_get_loc_non_unique_sorted(self, dtype): | CODE |
| LOW | asv_bench/benchmarks/index_object.py | 238 | def time_intersection_one_duplicate(self, N): | CODE |
| LOW | asv_bench/benchmarks/index_object.py | 241 | def time_intersection_both_duplicate(self, N): | CODE |
| LOW | asv_bench/benchmarks/plotting.py | 158 | def time_get_plot_backend_fallback(self): | CODE |
| LOW | asv_bench/benchmarks/reshape.py | 43 | def time_reshape_pivot_time_series(self): | CODE |
| 13135 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | asv_bench/benchmarks/index_object.py | 120 | self.idx_non_object.equals(self.mi_large_slow) | CODE |
| HIGH⚡ | asv_bench/benchmarks/frame_methods.py | 570 | self.float_df.equals(self.float_df) | CODE |
| HIGH⚡ | asv_bench/benchmarks/frame_methods.py | 573 | self.float_df.equals(self.float_df_nan) | CODE |
| HIGH⚡ | asv_bench/benchmarks/frame_methods.py | 576 | self.nonunique_cols.equals(self.nonunique_cols) | CODE |
| HIGH⚡ | asv_bench/benchmarks/frame_methods.py | 579 | self.nonunique_cols.equals(self.nonunique_cols_nan) | CODE |
| HIGH⚡ | asv_bench/benchmarks/frame_methods.py | 582 | self.object_df.equals(self.object_df) | CODE |
| HIGH⚡ | asv_bench/benchmarks/frame_methods.py | 585 | self.object_df.equals(self.object_df_nan) | CODE |
| HIGH⚡ | asv_bench/benchmarks/multiindex_object.py | 236 | self.mi.equals(self.mi_deepcopy) | CODE |
| HIGH⚡ | asv_bench/benchmarks/multiindex_object.py | 239 | self.mi.equals(self.idx_non_object) | CODE |
| HIGH | pandas/core/algorithms.py | 1102 | and idx.equals(values) | CODE |
| HIGH | pandas/core/resample.py | 2198 | and obj.index.equals(res_index) | CODE |
| HIGH⚡ | pandas/core/generic.py | 1354 | return self._mgr.equals(other._mgr) | CODE |
| HIGH | pandas/core/generic.py | 10241 | if (axis is None or axis == 0) and not self.index.equals(other.index): | CODE |
| HIGH | pandas/core/generic.py | 10249 | and not self.columns.equals(other.columns) | CODE |
| HIGH | pandas/core/generic.py | 10291 | if self.index.equals(other.index): | CODE |
| HIGH | pandas/core/generic.py | 10313 | if not join_index.equals(other.index): | CODE |
| HIGH | pandas/core/generic.py | 10423 | if not cond._info_axis.equals(self._info_axis): | CODE |
| HIGH | pandas/core/generic.py | 12854 | If all elements in Series are NA/null, returns None. | CODE |
| HIGH | pandas/core/generic.py | 12888 | If all elements in DataFrame are NA/null, returns None. | CODE |
| HIGH | pandas/core/generic.py | 12941 | If all elements in Series are NA/null, returns None. | CODE |
| HIGH | pandas/core/generic.py | 12975 | If all elements in DataFrame are NA/null, returns None. | CODE |
| HIGH⚡ | pandas/core/generic.py | 1335 | >>> df.equals(different_data_type) | STRING |
| HIGH⚡ | pandas/core/generic.py | 1342 | >>> df_nan1.equals(df_nan2) | STRING |
| HIGH⚡ | pandas/core/generic.py | 1348 | >>> df_nan1.equals(df_nan3) | STRING |
| HIGH | pandas/core/generic.py | 1313 | >>> df.equals(exactly_equal) | STRING |
| HIGH | pandas/core/generic.py | 1324 | >>> df.equals(different_column_type) | STRING |
| HIGH | pandas/core/generic.py | 2506 | '{"name":null,"index":[0,1,2],"data":[1,2,3]}' | STRING |
| HIGH | pandas/core/series.py | 462 | elif not data.index.equals(index) or copy: | CODE |
| HIGH | pandas/core/series.py | 3806 | if self.index.equals(new_index) and other.index.equals(new_index): | CODE |
| HIGH | pandas/core/series.py | 3888 | if self.index.equals(other.index): | CODE |
| HIGH | pandas/core/series.py | 7399 | if not left.index.equals(right.index): | CODE |
| HIGH | pandas/core/series.py | 7437 | if not self.index.equals(other.index): | CODE |
| HIGH | pandas/core/frame.py | 4364 | if isinstance(key, Series) and not key.index.equals(self.index): | STRING |
| HIGH | pandas/core/frame.py | 4795 | if len(cols_droplevel) and not cols_droplevel.equals(value.columns): | STRING |
| HIGH | pandas/core/frame.py | 4809 | if not cols_droplevel.equals(cols): | STRING |
| HIGH | pandas/core/frame.py | 10174 | assert self.index.equals(right.index) | STRING |
| HIGH | pandas/core/frame.py | 10175 | assert self.columns.equals(right.columns) | STRING |
| HIGH | pandas/core/frame.py | 10188 | assert right.index.equals(self.columns) | STRING |
| HIGH | pandas/core/frame.py | 10200 | assert right.index.equals(self.index) | STRING |
| HIGH | pandas/core/frame.py | 10304 | and not self.columns.equals(right.columns) | STRING |
| HIGH | pandas/core/frame.py | 15613 | if row_df.columns.equals(self.columns): | STRING |
| HIGH | pandas/core/frame.py | 20378 | if value.index.equals(index) or not len(index): | STRING |
| HIGH⚡ | pandas/core/indexing.py | 3206 | if not len(new_ix) or ser.index.equals(new_ix): | CODE |
| HIGH⚡ | pandas/core/indexing.py | 3215 | if ser.index.equals(ax) or not len(ax): | CODE |
| HIGH⚡ | pandas/core/indexing.py | 3225 | if ser.index.equals(ax): | CODE |
| HIGH⚡ | pandas/core/indexing.py | 3233 | if ser.index.equals(ax): | CODE |
| HIGH | pandas/core/indexing.py | 2802 | elif not unique_cols and value.columns.equals(self.obj.columns): | CODE |
| HIGH | pandas/core/indexing.py | 3261 | if df.index.equals(idx) and df.columns.equals(cols): | CODE |
| HIGH | pandas/core/indexing.py | 3269 | if df.index.equals(ax): | CODE |
| HIGH | pandas/core/indexing.py | 3666 | if isinstance(key, ABCSeries) and not key.index.equals(index): | CODE |
| HIGH | pandas/core/apply.py | 421 | if not isinstance(result, (ABCSeries, ABCDataFrame)) or not result.index.equals( | CODE |
| HIGH | pandas/core/apply.py | 1187 | if not row.index.equals(sub.columns): | CODE |
| HIGH | pandas/core/reshape/concat.py | 511 | if not no_sort_result_index.equals(orig): | CODE |
| HIGH | pandas/core/reshape/concat.py | 674 | if not all_equal[ax] and not new_labels.equals(obj_labels): | CODE |
| HIGH | pandas/core/reshape/concat.py | 953 | if isinstance(hlevel, Index) and hlevel.equals(level): | CODE |
| HIGH | pandas/core/reshape/reshape.py | 954 | if not result.columns.equals(desired_columns): | CODE |
| HIGH | pandas/core/reshape/reshape.py | 1155 | if not result.columns.equals(desired_columns): | CODE |
| HIGH | pandas/core/strings/accessor.py | 689 | if any(not data.index.equals(x.index) for x in others): | CODE |
| HIGH | pandas/core/methods/select.py | 43 | "order would be undefined; pass a list instead" | CODE |
| HIGH | pandas/core/interchange/dataframe_protocol.py | 267 | - Data types not included: complex, Arrow-style null, binary, decimal, | STRING |
| 478 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | AUTHORS.md | 38 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | AUTHORS.md | 45 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | doc/source/conf.py | 28 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | doc/source/conf.py | 36 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/conftest.py | 553 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/conftest.py | 555 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/conftest.py | 906 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/conftest.py | 908 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/conftest.py | 1128 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/conftest.py | 1130 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 86 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 88 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 207 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 209 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 223 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 225 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 432 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 434 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 470 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 472 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 790 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 792 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 958 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 960 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 981 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 983 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1173 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1175 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1252 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1254 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1930 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1932 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/algorithms.py | 1669 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/arraylike.py | 37 | # ------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/arraylike.py | 67 | # ------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/arraylike.py | 115 | # ------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/arraylike.py | 274 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/core/generic.py | 1356 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 265 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 325 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 507 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 519 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 969 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 1250 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 1533 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 1820 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 1970 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 2012 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 2073 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 2106 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 6538 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 7189 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 8418 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 8600 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 11580 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 4051 | # ---------------------------------------------------------------------- | STRING |
| MEDIUM | pandas/core/generic.py | 4406 | # ---------------------------------------------------------------------- | STRING |
| MEDIUM | pandas/core/generic.py | 6357 | # ---------------------------------------------------------------------- | STRING |
| MEDIUM | pandas/core/generic.py | 6490 | # ---------------------------------------------------------------------- | STRING |
| MEDIUM | pandas/core/generic.py | 12724 | # ---------------------------------------------------------------------- | STRING |
| 563 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/import_pandas_check.py | 3 | CODE | |
| LOW | asv_bench/benchmarks/arithmetic.py | 479 | CODE | |
| LOW | asv_bench/benchmarks/arithmetic.py | 23 | CODE | |
| LOW | asv_bench/benchmarks/frame_ctor.py | 201 | CODE | |
| LOW | asv_bench/benchmarks/gil.py | 327 | CODE | |
| LOW | asv_bench/benchmarks/algorithms.py | 227 | CODE | |
| LOW | asv_bench/benchmarks/ctors.py | 148 | CODE | |
| LOW | asv_bench/benchmarks/join_merge.py | 665 | CODE | |
| LOW | asv_bench/benchmarks/index_object.py | 262 | CODE | |
| LOW | asv_bench/benchmarks/plotting.py | 164 | CODE | |
| LOW | asv_bench/benchmarks/reshape.py | 338 | CODE | |
| LOW | asv_bench/benchmarks/dtypes.py | 129 | CODE | |
| LOW | asv_bench/benchmarks/rolling.py | 382 | CODE | |
| LOW | asv_bench/benchmarks/frame_methods.py | 902 | CODE | |
| LOW | asv_bench/benchmarks/sparse.py | 227 | CODE | |
| LOW | asv_bench/benchmarks/attrs_caching.py | 76 | CODE | |
| LOW | asv_bench/benchmarks/inference.py | 309 | CODE | |
| LOW | asv_bench/benchmarks/categoricals.py | 337 | CODE | |
| LOW | asv_bench/benchmarks/stat_ops.py | 196 | CODE | |
| LOW | asv_bench/benchmarks/eval.py | 65 | CODE | |
| LOW | asv_bench/benchmarks/indexing.py | 639 | CODE | |
| LOW | asv_bench/benchmarks/pandas_vb_common.py | 19 | CODE | |
| LOW | asv_bench/benchmarks/pandas_vb_common.py | 21 | CODE | |
| LOW | asv_bench/benchmarks/multiindex_object.py | 434 | CODE | |
| LOW | asv_bench/benchmarks/reindex.py | 148 | CODE | |
| LOW | asv_bench/benchmarks/series_methods.py | 427 | CODE | |
| LOW | asv_bench/benchmarks/timeseries.py | 297 | CODE | |
| LOW | asv_bench/benchmarks/replace.py | 76 | CODE | |
| LOW | asv_bench/benchmarks/io/hdf.py | 143 | CODE | |
| LOW | asv_bench/benchmarks/io/excel.py | 108 | CODE | |
| LOW | asv_bench/benchmarks/io/csv.py | 741 | CODE | |
| LOW | asv_bench/benchmarks/io/pickle.py | 39 | CODE | |
| LOW | asv_bench/benchmarks/io/sql.py | 173 | CODE | |
| LOW | asv_bench/benchmarks/tslibs/fields.py | 82 | CODE | |
| LOW | scripts/validate_exception_location.py | 22 | CODE | |
| LOW | scripts/check_test_naming.py | 12 | CODE | |
| LOW | scripts/validate_rst_title_capitalization.py | 15 | CODE | |
| LOW | scripts/validate_test_dependencies.py | 16 | CODE | |
| LOW | scripts/check_test_imports.py | 13 | CODE | |
| LOW | scripts/pandas_errors_documented.py | 10 | CODE | |
| LOW | scripts/sort_whatsnew_note.py | 27 | CODE | |
| LOW | scripts/validate_min_versions_in_sync.py | 17 | CODE | |
| LOW | scripts/tests/test_issue_assignment.py | 1 | CODE | |
| LOW | scripts/issue_assignment/client.py | 8 | CODE | |
| LOW | scripts/issue_assignment/__init__.py | 9 | CODE | |
| LOW | scripts/issue_assignment/core.py | 9 | CODE | |
| LOW | scripts/issue_assignment/unassign_inactive.py | 24 | CODE | |
| LOW | scripts/issue_assignment/gate.py | 9 | CODE | |
| LOW | scripts/issue_assignment/messages.py | 8 | CODE | |
| LOW | scripts/issue_assignment/label_awaiting_review.py | 15 | CODE | |
| LOW | pandas/conftest.py | 21 | CODE | |
| LOW | pandas/_typing.py | 1 | CODE | |
| LOW | pandas/_typing.py | 3 | CODE | |
| LOW | pandas/_typing.py | 43 | CODE | |
| LOW | pandas/_typing.py | 43 | CODE | |
| LOW | pandas/_typing.py | 43 | CODE | |
| LOW | pandas/_typing.py | 43 | CODE | |
| LOW | pandas/_typing.py | 49 | CODE | |
| LOW | pandas/_typing.py | 51 | CODE | |
| LOW | pandas/_typing.py | 53 | CODE | |
| 1131 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | asv_bench/benchmarks/arithmetic.py | 24 | except ImportError: | CODE |
| HIGH | asv_bench/benchmarks/algorithms.py | 11 | except (ImportError, TypeError, ValueError): | CODE |
| HIGH | asv_bench/benchmarks/dtypes.py | 50 | except TypeError: | CODE |
| HIGH | asv_bench/benchmarks/categoricals.py | 14 | except ImportError: | CODE |
| HIGH | asv_bench/benchmarks/pandas_vb_common.py | 14 | except (ImportError, TypeError, ValueError): | CODE |
| HIGH | asv_bench/benchmarks/pandas_vb_common.py | 78 | except OSError: | CODE |
| HIGH | asv_bench/benchmarks/io/parsers.py | 3 | except ImportError: | CODE |
| HIGH | asv_bench/benchmarks/io/csv.py | 519 | except TypeError: | CODE |
| HIGH | asv_bench/benchmarks/io/csv.py | 616 | except TypeError: | CODE |
| HIGH | asv_bench/benchmarks/tslibs/offsets.py | 19 | except ImportError: | CODE |
| HIGH | pandas/compat/_cpu.py | 96 | except OSError: | CODE |
| HIGH | pandas/core/nanops.py | 583 | except (TypeError, ValueError, np.exceptions.ComplexWarning): | CODE |
| HIGH | pandas/core/nanops.py | 596 | except (TypeError, ValueError, np.exceptions.ComplexWarning): | CODE |
| HIGH | pandas/core/nanops.py | 827 | except TypeError: | CODE |
| HIGH | pandas/core/nanops.py | 1833 | except TypeError: | CODE |
| HIGH | pandas/core/generic.py | 6450 | except AttributeError: | CODE |
| HIGH | pandas/core/generic.py | 4387 | except TypeError: | CODE |
| HIGH | pandas/core/series.py | 2098 | except AttributeError: | CODE |
| HIGH | pandas/core/frame.py | 4301 | except (KeyError, InvalidIndexError): | CODE |
| HIGH | pandas/core/frame.py | 13293 | except ValueError: | CODE |
| HIGH | pandas/core/frame.py | 15448 | except Exception: | CODE |
| HIGH | pandas/core/indexing.py | 3922 | except (ValueError, TypeError): | CODE |
| HIGH | pandas/core/indexing.py | 3931 | except (AttributeError, ValueError, TypeError): | CODE |
| HIGH | pandas/core/indexing.py | 1958 | except KeyError: | CODE |
| HIGH | pandas/core/apply.py | 1239 | except Exception: | CODE |
| HIGH | pandas/core/reshape/melt.py | 650 | except (TypeError, ValueError, OverflowError): | CODE |
| HIGH | pandas/core/reshape/pivot.py | 334 | except TypeError: | CODE |
| HIGH | pandas/core/reshape/pivot.py | 344 | except (TypeError, ValueError, KeyError): | CODE |
| HIGH | pandas/core/reshape/pivot.py | 554 | except TypeError: | CODE |
| HIGH | pandas/core/strings/accessor.py | 468 | except TypeError: | CODE |
| HIGH | pandas/core/tools/times.py | 154 | except ValueError: | CODE |
| HIGH | pandas/core/interchange/column.py | 299 | except NoBufferPresent: | CODE |
| HIGH | pandas/core/interchange/column.py | 304 | except NoBufferPresent: | CODE |
| HIGH | pandas/core/dtypes/cast.py | 494 | except TypeError: | CODE |
| HIGH | pandas/core/dtypes/dtypes.py | 1148 | except ValueError: | CODE |
| HIGH | pandas/core/dtypes/dtypes.py | 2465 | except (NotImplementedError, ValueError): | CODE |
| HIGH | pandas/core/dtypes/base.py | 645 | except TypeError: | CODE |
| HIGH | pandas/core/groupby/generic.py | 2545 | except StopIteration: | CODE |
| HIGH | pandas/core/groupby/generic.py | 3035 | except AttributeError: # allow e.g., scalars and frames to pass | CODE |
| HIGH | pandas/core/internals/blocks.py | 1440 | except (LossySetitemError, NotImplementedError): | CODE |
| HIGH | pandas/core/computation/align.py | 202 | except AttributeError: | CODE |
| HIGH | pandas/core/computation/pytables.py | 534 | except AttributeError: | CODE |
| HIGH | pandas/core/computation/pytables.py | 558 | except AttributeError: | CODE |
| HIGH | pandas/core/computation/expressions.py | 150 | except TypeError: | CODE |
| HIGH | pandas/core/computation/ops.py | 280 | except AttributeError: | CODE |
| HIGH | pandas/core/computation/ops.py | 296 | except AttributeError: | CODE |
| HIGH | pandas/core/arrays/categorical.py | 714 | except (ValueError, TypeError): | CODE |
| HIGH | pandas/core/arrays/datetimes.py | 3017 | except TypeError: | CODE |
| HIGH | pandas/core/arrays/_ranges.py | 262 | except (FloatingPointError, OverflowError): | CODE |
| HIGH | pandas/core/arrays/masked.py | 181 | except TypeError: | CODE |
| HIGH | pandas/core/arrays/masked.py | 346 | except TypeError: | CODE |
| HIGH | pandas/core/arrays/datetimelike.py | 681 | except ValueError: | CODE |
| HIGH | pandas/core/arrays/datetimelike.py | 731 | except (ValueError, TypeError): | CODE |
| HIGH | pandas/core/arrays/arrow/array.py | 1961 | except pa.ArrowNotImplementedError: | CODE |
| HIGH | pandas/core/arrays/arrow/array.py | 3567 | except pa.ArrowNotImplementedError: | CODE |
| HIGH | pandas/core/arrays/arrow/array.py | 1879 | except pa.ArrowNotImplementedError: | CODE |
| HIGH | pandas/core/arrays/arrow/array.py | 3506 | except pa.ArrowNotImplementedError: | CODE |
| HIGH | pandas/core/arrays/arrow/array.py | 323 | except pa.ArrowNotImplementedError: | CODE |
| HIGH | pandas/core/arrays/arrow/array.py | 757 | except ValueError: | CODE |
| HIGH | pandas/core/arrays/arrow/array.py | 775 | except pa.lib.ArrowInvalid: | CODE |
| 71 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pandas/core/resample.py | 0 | sub-classes to define. return a sliced object. parameters ---------- key : str / list of selections ndim : {1, 2} reques | STRING |
| HIGH | pandas/core/frame.py | 0 | sub-classes to define. return a sliced object. parameters ---------- key : str / list of selections ndim : {1, 2} reques | STRING |
| HIGH | pandas/core/series.py | 0 | sub-classes to define. return a sliced object. parameters ---------- key : str / list of selections ndim : {1, 2} reques | STRING |
| HIGH | pandas/core/base.py | 0 | sub-classes to define. return a sliced object. parameters ---------- key : str / list of selections ndim : {1, 2} reques | STRING |
| HIGH | pandas/core/groupby/generic.py | 0 | sub-classes to define. return a sliced object. parameters ---------- key : str / list of selections ndim : {1, 2} reques | STRING |
| HIGH | pandas/core/window/rolling.py | 0 | sub-classes to define. return a sliced object. parameters ---------- key : str / list of selections ndim : {1, 2} reques | STRING |
| HIGH | pandas/core/generic.py | 0 | conform dataframe to new index with optional filling logic. places na/nan in locations having no value in the previous i | STRING |
| HIGH | pandas/core/series.py | 0 | conform dataframe to new index with optional filling logic. places na/nan in locations having no value in the previous i | STRING |
| HIGH | pandas/core/frame.py | 0 | conform dataframe to new index with optional filling logic. places na/nan in locations having no value in the previous i | STRING |
| HIGH | pandas/core/series.py | 0 | the extensionarray of the data backing this index. this property provides direct access to the underlying array data of | STRING |
| HIGH | pandas/core/base.py | 0 | the extensionarray of the data backing this index. this property provides direct access to the underlying array data of | STRING |
| HIGH | pandas/core/indexes/base.py | 0 | the extensionarray of the data backing this index. this property provides direct access to the underlying array data of | STRING |
| HIGH | pandas/core/dtypes/dtypes.py | 0 | return the array type associated with this dtype. returns ------- type | STRING |
| HIGH | pandas/core/dtypes/base.py | 0 | return the array type associated with this dtype. returns ------- type | STRING |
| HIGH | pandas/core/arrays/floating.py | 0 | return the array type associated with this dtype. returns ------- type | STRING |
| HIGH | pandas/core/arrays/string_.py | 0 | return the array type associated with this dtype. returns ------- type | STRING |
| HIGH | pandas/core/arrays/boolean.py | 0 | return the array type associated with this dtype. returns ------- type | STRING |
| HIGH | pandas/core/arrays/integer.py | 0 | return the array type associated with this dtype. returns ------- type | STRING |
| HIGH | pandas/tests/extension/decimal/array.py | 0 | return the array type associated with this dtype. returns ------- type | STRING |
| HIGH | pandas/tests/extension/array_with_attr/array.py | 0 | return the array type associated with this dtype. returns ------- type | STRING |
| HIGH | pandas/tests/extension/json/array.py | 0 | return the array type associated with this dtype. returns ------- type | STRING |
| HIGH | pandas/tests/extension/list/array.py | 0 | return the array type associated with this dtype. returns ------- type | STRING |
| HIGH | pandas/tests/arrays/test_array.py | 0 | return the array type associated with this dtype. returns ------- type | STRING |
| HIGH | pandas/core/_numba/kernels/sum_.py | 0 | numba 1d var kernels that can be shared by * dataframe / series * groupby * rolling / expanding mirrors pandas/_libs/win | STRING |
| HIGH | pandas/core/_numba/kernels/min_max_.py | 0 | numba 1d var kernels that can be shared by * dataframe / series * groupby * rolling / expanding mirrors pandas/_libs/win | STRING |
| HIGH | pandas/core/_numba/kernels/mean_.py | 0 | numba 1d var kernels that can be shared by * dataframe / series * groupby * rolling / expanding mirrors pandas/_libs/win | STRING |
| HIGH | pandas/core/_numba/kernels/var_.py | 0 | numba 1d var kernels that can be shared by * dataframe / series * groupby * rolling / expanding mirrors pandas/_libs/win | STRING |
| HIGH | pandas/core/window/ewm.py | 0 | return an indexer class that will compute the window start and end bounds | STRING |
| HIGH | pandas/core/window/rolling.py | 0 | return an indexer class that will compute the window start and end bounds | STRING |
| HIGH | pandas/core/window/expanding.py | 0 | return an indexer class that will compute the window start and end bounds | STRING |
| HIGH | pandas/core/window/ewm.py | 0 | aggregate using one or more operations over the specified axis. accepts a function, string name, list, or dict of functi | STRING |
| HIGH | pandas/core/window/rolling.py | 0 | aggregate using one or more operations over the specified axis. accepts a function, string name, list, or dict of functi | STRING |
| HIGH | pandas/core/window/expanding.py | 0 | aggregate using one or more operations over the specified axis. accepts a function, string name, list, or dict of functi | STRING |
| HIGH | pandas/core/window/ewm.py | 0 | return an indexer class that will compute the window start and end bounds returns ------- groupbyindexer | STRING |
| HIGH | pandas/core/window/rolling.py | 0 | return an indexer class that will compute the window start and end bounds returns ------- groupbyindexer | STRING |
| HIGH | pandas/core/window/expanding.py | 0 | return an indexer class that will compute the window start and end bounds returns ------- groupbyindexer | STRING |
| HIGH | pandas/core/arrays/datetimes.py | 0 | the day of the week with monday=0, sunday=6. .. deprecated:: 3.1.0 use :attr:`periodindex.day_of_week` instead. | STRING |
| HIGH | pandas/core/arrays/period.py | 0 | the day of the week with monday=0, sunday=6. .. deprecated:: 3.1.0 use :attr:`periodindex.day_of_week` instead. | STRING |
| HIGH | pandas/core/indexes/accessors.py | 0 | the day of the week with monday=0, sunday=6. .. deprecated:: 3.1.0 use :attr:`periodindex.day_of_week` instead. | STRING |
| HIGH | pandas/core/indexes/datetimes.py | 0 | the day of the week with monday=0, sunday=6. .. deprecated:: 3.1.0 use :attr:`periodindex.day_of_week` instead. | STRING |
| HIGH | pandas/core/indexes/period.py | 0 | the day of the week with monday=0, sunday=6. .. deprecated:: 3.1.0 use :attr:`periodindex.day_of_week` instead. | STRING |
| HIGH | pandas/core/arrays/string_.py | 0 | find indices where elements should be inserted to maintain order. find the indices into a sorted array `self` (a) such t | STRING |
| HIGH | pandas/core/arrays/masked.py | 0 | find indices where elements should be inserted to maintain order. find the indices into a sorted array `self` (a) such t | STRING |
| HIGH | pandas/core/arrays/base.py | 0 | find indices where elements should be inserted to maintain order. find the indices into a sorted array `self` (a) such t | STRING |
| HIGH | pandas/core/arrays/_mixins.py | 0 | find indices where elements should be inserted to maintain order. find the indices into a sorted array `self` (a) such t | STRING |
| HIGH | pandas/core/arrays/arrow/array.py | 0 | find indices where elements should be inserted to maintain order. find the indices into a sorted array `self` (a) such t | STRING |
| HIGH | pandas/core/arrays/masked.py | 0 | return boolean ndarray denoting duplicate values. parameters ---------- keep : {'first', 'last', false}, default 'first' | STRING |
| HIGH | pandas/core/arrays/base.py | 0 | return boolean ndarray denoting duplicate values. parameters ---------- keep : {'first', 'last', false}, default 'first' | STRING |
| HIGH | pandas/core/arrays/arrow/array.py | 0 | return boolean ndarray denoting duplicate values. parameters ---------- keep : {'first', 'last', false}, default 'first' | STRING |
| HIGH | pandas/core/arrays/sparse/array.py | 0 | return boolean ndarray denoting duplicate values. parameters ---------- keep : {'first', 'last', false}, default 'first' | STRING |
| HIGH | pandas/core/indexes/interval.py | 0 | this is called upon unpickling, rather than the default which doesn't have arguments and breaks __new__ | STRING |
| HIGH | pandas/core/indexes/base.py | 0 | this is called upon unpickling, rather than the default which doesn't have arguments and breaks __new__ | STRING |
| HIGH | pandas/core/indexes/timedeltas.py | 0 | this is called upon unpickling, rather than the default which doesn't have arguments and breaks __new__ | STRING |
| HIGH | pandas/core/indexes/datetimes.py | 0 | this is called upon unpickling, rather than the default which doesn't have arguments and breaks __new__ | STRING |
| HIGH | pandas/core/indexes/interval.py | 0 | fastpath for __getitem__ when we know we have a slice. | STRING |
| HIGH | pandas/core/indexes/range.py | 0 | fastpath for __getitem__ when we know we have a slice. | STRING |
| HIGH | pandas/core/indexes/multi.py | 0 | fastpath for __getitem__ when we know we have a slice. | STRING |
| HIGH | pandas/core/indexes/base.py | 0 | fastpath for __getitem__ when we know we have a slice. | STRING |
| HIGH | pandas/core/indexes/timedeltas.py | 0 | can we compare values of the given dtype to our own? | STRING |
| HIGH | pandas/core/indexes/datetimes.py | 0 | can we compare values of the given dtype to our own? | STRING |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/pandas_web.py | 296 | CODE | |
| LOW | asv_bench/benchmarks/algorithms.py | 15 | CODE | |
| LOW | asv_bench/benchmarks/algorithms.py | 98 | CODE | |
| LOW | asv_bench/benchmarks/join_merge.py | 88 | CODE | |
| LOW | asv_bench/benchmarks/index_cached_properties.py | 24 | CODE | |
| LOW | asv_bench/benchmarks/attrs_caching.py | 54 | CODE | |
| LOW | asv_bench/benchmarks/array.py | 119 | CODE | |
| LOW | asv_bench/benchmarks/groupby.py | 510 | CODE | |
| LOW | asv_bench/benchmarks/groupby.py | 1201 | CODE | |
| LOW | asv_bench/benchmarks/series_methods.py | 90 | CODE | |
| LOW | asv_bench/benchmarks/series_methods.py | 354 | CODE | |
| LOW | asv_bench/benchmarks/algos/isin.py | 29 | CODE | |
| LOW | asv_bench/benchmarks/algos/isin.py | 241 | CODE | |
| LOW | scripts/validate_unwanted_patterns.py | 90 | CODE | |
| LOW | scripts/validate_unwanted_patterns.py | 169 | CODE | |
| LOW | scripts/validate_unwanted_patterns.py | 284 | CODE | |
| LOW | scripts/validate_unwanted_patterns.py | 336 | CODE | |
| LOW | scripts/validate_unwanted_patterns.py | 418 | CODE | |
| LOW | scripts/validate_unwanted_patterns.py | 196 | CODE | |
| LOW | scripts/check_test_naming.py | 79 | CODE | |
| LOW | scripts/pandas_errors_documented.py | 24 | CODE | |
| LOW | scripts/validate_min_versions_in_sync.py | 92 | CODE | |
| LOW | scripts/validate_min_versions_in_sync.py | 136 | CODE | |
| LOW | scripts/issue_assignment/client.py | 366 | CODE | |
| LOW | scripts/issue_assignment/unassign_inactive.py | 142 | CODE | |
| LOW | doc/make.py | 72 | CODE | |
| LOW | pandas/compat/_optional.py | 106 | CODE | |
| LOW | pandas/core/nanops.py | 272 | CODE | |
| LOW | pandas/core/nanops.py | 361 | CODE | |
| LOW | pandas/core/nanops.py | 1050 | CODE | |
| LOW | pandas/core/nanops.py | 1522 | CODE | |
| LOW | pandas/core/nanops.py | 1944 | CODE | |
| LOW | pandas/core/nanops.py | 2059 | CODE | |
| LOW | pandas/core/nanops.py | 1525 | CODE | |
| LOW | pandas/core/missing.py | 84 | CODE | |
| LOW | pandas/core/algorithms.py | 112 | CODE | |
| LOW | pandas/core/algorithms.py | 526 | CODE | |
| LOW | pandas/core/algorithms.py | 1028 | CODE | |
| LOW | pandas/core/algorithms.py | 1560 | CODE | |
| LOW | pandas/core/algorithms.py | 1681 | CODE | |
| LOW | pandas/core/algorithms.py | 1929 | CODE | |
| LOW | pandas/core/resample.py | 3094 | CODE | |
| LOW | pandas/core/arraylike.py | 278 | CODE | |
| LOW | pandas/core/construction.py | 83 | CODE | |
| LOW | pandas/core/construction.py | 580 | CODE | |
| LOW | pandas/core/construction.py | 761 | CODE | |
| LOW | pandas/core/construction.py | 837 | CODE | |
| LOW | pandas/core/generic.py | 2028 | CODE | |
| LOW | pandas/core/generic.py | 3416 | CODE | |
| LOW | pandas/core/generic.py | 3706 | CODE | |
| LOW | pandas/core/generic.py | 4155 | CODE | |
| LOW | pandas/core/generic.py | 4736 | CODE | |
| LOW | pandas/core/generic.py | 5281 | CODE | |
| LOW | pandas/core/generic.py | 6361 | CODE | |
| LOW | pandas/core/generic.py | 6438 | CODE | |
| LOW | pandas/core/generic.py | 6593 | CODE | |
| LOW | pandas/core/generic.py | 7231 | CODE | |
| LOW | pandas/core/generic.py | 7687 | CODE | |
| LOW | pandas/core/generic.py | 10044 | CODE | |
| LOW | pandas/core/generic.py | 10335 | CODE | |
| 622 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | asv_bench/benchmarks/groupby.py | 179 | CODE | |
| LOW | scripts/tests/test_issue_assignment.py | 561 | CODE | |
| LOW | pandas/core/nanops.py | 1622 | CODE | |
| LOW | pandas/core/nanops.py | 1671 | CODE | |
| LOW | pandas/core/nanops.py | 1567 | CODE | |
| LOW | pandas/core/missing.py | 483 | CODE | |
| LOW | pandas/core/algorithms.py | 470 | CODE | |
| LOW | pandas/core/resample.py | 2436 | CODE | |
| LOW | pandas/core/arraylike.py | 453 | CODE | |
| LOW | pandas/core/generic.py | 2110 | CODE | |
| LOW | pandas/core/generic.py | 2284 | CODE | |
| LOW | pandas/core/generic.py | 2649 | CODE | |
| LOW | pandas/core/generic.py | 3362 | CODE | |
| LOW | pandas/core/generic.py | 3389 | CODE | |
| LOW | pandas/core/generic.py | 3416 | CODE | |
| LOW | pandas/core/generic.py | 3781 | CODE | |
| LOW | pandas/core/generic.py | 3808 | CODE | |
| LOW | pandas/core/generic.py | 3835 | CODE | |
| LOW | pandas/core/generic.py | 4372 | CODE | |
| LOW | pandas/core/generic.py | 5181 | CODE | |
| LOW | pandas/core/generic.py | 5196 | CODE | |
| LOW | pandas/core/generic.py | 5211 | CODE | |
| LOW | pandas/core/generic.py | 5225 | CODE | |
| LOW | pandas/core/generic.py | 5281 | CODE | |
| LOW | pandas/core/generic.py | 9392 | CODE | |
| LOW | pandas/core/generic.py | 11263 | CODE | |
| LOW | pandas/core/generic.py | 12508 | CODE | |
| LOW | pandas/core/generic.py | 11852 | CODE | |
| LOW | pandas/core/series.py | 1622 | CODE | |
| LOW | pandas/core/series.py | 1638 | CODE | |
| LOW | pandas/core/series.py | 1654 | CODE | |
| LOW | pandas/core/series.py | 3161 | CODE | |
| LOW | pandas/core/series.py | 4261 | CODE | |
| LOW | pandas/core/series.py | 4276 | CODE | |
| LOW | pandas/core/series.py | 4291 | CODE | |
| LOW | pandas/core/series.py | 4305 | CODE | |
| LOW | pandas/core/series.py | 5296 | CODE | |
| LOW | pandas/core/series.py | 5449 | CODE | |
| LOW | pandas/core/series.py | 5800 | CODE | |
| LOW | pandas/core/series.py | 9063 | CODE | |
| LOW | pandas/core/frame.py | 1022 | CODE | |
| LOW | pandas/core/frame.py | 1047 | CODE | |
| LOW | pandas/core/frame.py | 1071 | CODE | |
| LOW | pandas/core/frame.py | 2506 | CODE | |
| LOW | pandas/core/frame.py | 3147 | CODE | |
| LOW | pandas/core/frame.py | 3176 | CODE | |
| LOW | pandas/core/frame.py | 3204 | CODE | |
| LOW | pandas/core/frame.py | 3429 | CODE | |
| LOW | pandas/core/frame.py | 3451 | CODE | |
| LOW | pandas/core/frame.py | 3472 | CODE | |
| LOW | pandas/core/frame.py | 6507 | CODE | |
| LOW | pandas/core/frame.py | 6999 | CODE | |
| LOW | pandas/core/frame.py | 7013 | CODE | |
| LOW | pandas/core/frame.py | 7026 | CODE | |
| LOW | pandas/core/frame.py | 9375 | CODE | |
| LOW | pandas/core/frame.py | 9390 | CODE | |
| LOW | pandas/core/frame.py | 9405 | CODE | |
| LOW | pandas/core/frame.py | 9419 | CODE | |
| LOW | pandas/core/frame.py | 10566 | CODE | |
| LOW | pandas/core/frame.py | 13950 | CODE | |
| 207 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | doc/source/conf.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | pandas/_typing.py | 582 | __all__ = ["type_t"] | CODE |
| LOW | pandas/__init__.py | 228 | __all__ = [ | STRING |
| LOW | pandas/testing.py | 12 | __all__ = [ | CODE |
| LOW | pandas/compat/_constants.py | 30 | __all__ = [ | CODE |
| LOW | pandas/compat/__init__.py | 144 | __all__ = [ | CODE |
| LOW | pandas/compat/numpy/__init__.py | 25 | __all__ = [ | CODE |
| LOW | pandas/core/nanops.py | 65 | def set_use_bottleneck(v: bool = True) -> None: | CODE |
| LOW | pandas/core/generic.py | 752 | def _set_axis_nocheck(self, labels, axis: Axis, inplace: Literal[True]) -> None: ... | CODE |
| LOW | pandas/core/generic.py | 767 | def _set_axis(self, axis: AxisInt, labels: AnyArrayLike | list[Any]) -> None: | CODE |
| LOW | pandas/core/generic.py | 4819 | def _update_inplace(self, result) -> None: | STRING |
| LOW⚡ | pandas/core/series.py | 1309 | def _set_labels(self, key, value) -> None: | CODE |
| LOW⚡ | pandas/core/series.py | 1317 | def _set_values(self, key, value) -> None: | CODE |
| LOW⚡ | pandas/core/series.py | 1323 | def _set_value(self, label, value, takeable: bool = False) -> None: | CODE |
| LOW | pandas/core/series.py | 207 | __all__ = ["Series"] | CODE |
| LOW | pandas/core/series.py | 1292 | def _set_with_engine(self, key, value) -> None: | CODE |
| LOW | pandas/core/series.py | 1298 | def _set_with(self, key, value) -> None: | CODE |
| LOW | pandas/core/api.py | 84 | __all__ = [ | CODE |
| LOW⚡ | pandas/core/frame.py | 4661 | def _setitem_slice(self, key: slice, value) -> None: | STRING |
| LOW⚡ | pandas/core/frame.py | 4667 | def _setitem_array(self, key, value) -> None: | STRING |
| LOW | pandas/core/frame.py | 4749 | def _setitem_frame(self, key, value) -> None: | STRING |
| LOW | pandas/core/frame.py | 4778 | def _set_item_frame_value(self, key, value: DataFrame) -> None: | STRING |
| LOW | pandas/core/frame.py | 4871 | def _set_item(self, key, value) -> None: | STRING |
| LOW | pandas/core/col.py | 462 | __all__ = ["Expression", "col"] | CODE |
| LOW | pandas/core/indexing.py | 2523 | def _setitem_new_column(self, indexer, key, value, name: str) -> None: | CODE |
| LOW | pandas/core/indexing.py | 2588 | def _setitem_with_indexer(self, indexer, value, name: str = "iloc") -> None: | CODE |
| LOW | pandas/core/indexing.py | 2750 | def _setitem_with_indexer_2d_value(self, indexer, value) -> None: | CODE |
| LOW | pandas/core/indexing.py | 2843 | def _setitem_single_column(self, loc: int, value, plane_indexer) -> None: | CODE |
| LOW | pandas/core/indexing.py | 2907 | def _setitem_single_block(self, indexer, value, name: str) -> None: | CODE |
| LOW | pandas/core/indexers/__init__.py | 18 | __all__ = [ | CODE |
| LOW | pandas/core/reshape/api.py | 26 | __all__ = [ | CODE |
| LOW | pandas/core/tools/datetimes.py | 1587 | __all__ = [ | CODE |
| LOW | pandas/core/methods/select.py | 87 | def set_column(name: Hashable, value: object) -> None: | CODE |
| LOW | pandas/core/util/numba_.py | 28 | def set_use_numba(enable: bool = False) -> None: | CODE |
| LOW | pandas/core/dtypes/api.py | 43 | __all__ = [ | CODE |
| LOW | pandas/core/dtypes/common.py | 1948 | __all__ = [ | CODE |
| LOW | pandas/core/groupby/__init__.py | 9 | __all__ = [ | CODE |
| LOW | pandas/core/internals/__init__.py | 8 | __all__ = [ | CODE |
| LOW | pandas/core/internals/blocks.py | 1048 | def set_inplace(self, locs, values: ArrayLike, copy: bool = False) -> None: | CODE |
| LOW | pandas/core/internals/blocks.py | 2135 | def set_inplace(self, locs, values: ArrayLike, copy: bool = False) -> None: | CODE |
| LOW | pandas/core/internals/managers.py | 272 | def set_axis(self, axis: AxisInt, new_labels: Index) -> None: | CODE |
| LOW | pandas/core/internals/managers.py | 2310 | def set_values(self, values: ArrayLike) -> None: | CODE |
| LOW | pandas/core/computation/check.py | 54 | __all__ = [ | CODE |
| LOW | pandas/core/computation/expressions.py | 50 | def set_use_numexpr(v: bool = True) -> None: | CODE |
| LOW | pandas/core/computation/expressions.py | 70 | def set_numexpr_threads(n=None) -> None: | CODE |
| LOW | pandas/core/computation/expressions.py | 309 | def set_test_mode(v: bool = True) -> None: | CODE |
| LOW | pandas/core/computation/api.py | 1 | __all__ = ["eval"] | CODE |
| LOW | pandas/core/_numba/kernels/__init__.py | 18 | __all__ = [ | CODE |
| LOW | pandas/core/window/__init__.py | 15 | __all__ = [ | CODE |
| LOW | pandas/core/arrays/categorical.py | 1102 | def _set_categories(self, categories, fastpath: bool = False) -> None: | CODE |
| LOW | pandas/core/arrays/__init__.py | 24 | __all__ = [ | CODE |
| LOW | pandas/core/arrays/arrow/__init__.py | 7 | __all__ = ["ArrowExtensionArray", "ListAccessor", "StructAccessor"] | CODE |
| LOW | pandas/core/arrays/sparse/__init__.py | 12 | __all__ = [ | CODE |
| LOW | pandas/core/ops/__init__.py | 72 | __all__ = [ | CODE |
| LOW | pandas/core/sparse/api.py | 5 | __all__ = ["SparseArray", "SparseDtype"] | CODE |
| LOW | pandas/core/indexes/multi.py | 1721 | def _set_names(self, names, *, level=None) -> None: | CODE |
| LOW | pandas/core/indexes/api.py | 39 | __all__ = [ | CODE |
| LOW | pandas/core/indexes/base.py | 224 | __all__ = ["Index"] | CODE |
| LOW | pandas/util/_decorators.py | 460 | __all__ = [ | CODE |
| LOW | pandas/util/_tester.py | 59 | __all__ = ["test"] | CODE |
| 62 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/generate_pip_deps_from_conda.py | 106 | f"# This file is auto-generated from {conda_path.name}, do not modify.\n" | CODE |
| MEDIUM | doc/source/conf.py | 4 | # This file is execfile()d with the current directory set to its containing | COMMENT |
| MEDIUM | pandas/core/apply.py | 1431 | # Create the series | COMMENT |
| MEDIUM | pandas/core/apply.py | 1631 | # Create the series | COMMENT |
| MEDIUM | pandas/core/interchange/from_dataframe.py | 385 | # Create the string | COMMENT |
| MEDIUM | pandas/core/interchange/column.py | 366 | # Define the dtype for the returned buffer | COMMENT |
| MEDIUM⚡ | pandas/core/interchange/column.py | 424 | # Define the dtype of the returned buffer | COMMENT |
| MEDIUM | pandas/core/dtypes/concat.py | 117 | # Creating an empty array directly is tempting, but the winnings would be | COMMENT |
| MEDIUM | pandas/core/computation/parsing.py | 51 | # Create a dict with the special characters and their replacement string. | COMMENT |
| MEDIUM | pandas/core/_numba/extensions.py | 300 | # Create an empty typed dict in numba for the hashmap for indexing | COMMENT |
| MEDIUM | pandas/core/arrays/datetimes.py | 506 | # Create a linearly spaced date_range in local time | COMMENT |
| MEDIUM | pandas/util/version/__init__.py | 5 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | pandas/io/parsers/readers.py | 443 | # Create the parser. | COMMENT |
| MEDIUM | pandas/io/excel/_base.py | 1197 | # Defining an ExcelWriter implementation (see abstract methods for more...) | COMMENT |
| MEDIUM | pandas/io/excel/_xlsxwriter.py | 107 | # Create an XlsxWriter format object. | COMMENT |
| MEDIUM | pandas/io/clipboard/__init__.py | 467 | # This function is heavily based on | COMMENT |
| MEDIUM | pandas/tests/test_optional_dependency.py | 77 | # Create a fake module with a submodule | COMMENT |
| MEDIUM | pandas/tests/series/test_formats.py | 286 | # Define a stub extension type with just enough code to run Series.__repr__() | COMMENT |
| MEDIUM | pandas/tests/series/accessors/test_cat_accessor.py | 119 | # This method is likely to be confused, so test that it raises an error | COMMENT |
| MEDIUM | pandas/tests/apply/test_invalid_arg.py | 2 | # This file is organized by reason for exception. | COMMENT |
| MEDIUM⚡ | pandas/tests/apply/test_frame_apply_relabeling.py | 103 | # This method is used by other libraries (e.g. dask) | COMMENT |
| MEDIUM | pandas/tests/resample/test_period_index.py | 407 | # Create the expected series | COMMENT |
| MEDIUM | pandas/tests/io/test_compression.py | 66 | # Create a new temporary file for uncompressed comparison | COMMENT |
| MEDIUM | …as/tests/tseries/offsets/test_custom_business_month.py | 181 | # Define a TradingDay offset | COMMENT |
| MEDIUM | …as/tests/tseries/offsets/test_custom_business_month.py | 358 | # Define a TradingDay offset | COMMENT |
| MEDIUM | …ndas/tests/tseries/offsets/test_custom_business_day.py | 41 | # Define a TradingDay offset | COMMENT |
| MEDIUM⚡ | pandas/tests/libs/test_lib.py | 348 | # Define a custom ndarray subclass | COMMENT |
| MEDIUM | pandas/tests/plotting/frame/test_frame_color.py | 731 | # Creating a DataFrame with duplicate column labels and testing colors of them. | COMMENT |
| MEDIUM⚡ | pandas/tests/arithmetic/test_datetime64.py | 777 | # This class is intended for "finished" tests that are fully parametrized | COMMENT |
| MEDIUM⚡ | pandas/tests/arithmetic/test_array_ops.py | 50 | # Define a custom ndarray subclass | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/suppressions/ubsan.txt | 1 | # Entries are matched as a substring of the source path UBSan reports, which is | COMMENT |
| LOW | scripts/check_test_naming.py | 101 | _is_register_dtype(decorator) for decorator in node.decorator_list | COMMENT |
| LOW | scripts/tests/data/deps_minimum.toml | 181 | "E402", | COMMENT |
| LOW | .github/workflows/wheels.yml | 1 | # Workflow to build wheels for upload to PyPI. | COMMENT |
| LOW | .github/workflows/unit-tests.yml | 421 | environment: sanitizers | COMMENT |
| LOW | doc/source/conf.py | 1 | # | COMMENT |
| LOW | doc/source/conf.py | 101 | COMMENT | |
| LOW | doc/source/conf.py | 461 | version = ".".join(full_version.split(".")[:2]) | COMMENT |
| LOW | doc/source/conf.py | 481 | exclude_trees = [] | COMMENT |
| LOW | doc/source/conf.py | 501 | # modindex_common_prefix = [] | COMMENT |
| LOW | doc/source/conf.py | 561 | # html_theme_path = ["themes"] | COMMENT |
| LOW | doc/source/conf.py | 581 | "css/pandas.css", | COMMENT |
| LOW | doc/source/conf.py | 681 | # The name of an image file (relative to this directory) to place at the top of | COMMENT |
| LOW | doc/source/conf.py | 761 | # modname is None, base the last elements (eg 'hour') | COMMENT |
| LOW | pandas/core/nanops.py | 161 | # Bottleneck chokes on datetime64, PeriodDtype (or an EA) | COMMENT |
| LOW | pandas/core/algorithms.py | 561 | comps_arr = comps | COMMENT |
| LOW | pandas/core/algorithms.py | 621 | # (complex128 components are float64, so "c" is as lossy | COMMENT |
| LOW | pandas/core/arraylike.py | 421 | COMMENT | |
| LOW | pandas/core/arraylike.py | 561 | # default of axis=None, which DataFrame.min catches and changes to axis=0. | COMMENT |
| LOW | pandas/core/series.py | 541 | # Looking for NaN in dict doesn't work ({np.nan : 1}[float('nan')] | COMMENT |
| LOW | pandas/core/frame.py | 15601 | ) | COMMENT |
| LOW | pandas/core/indexing.py | 2881 | # df = pd.DataFrame({'a': [1, 2]}) | COMMENT |
| LOW | pandas/core/apply.py | 2241 | # accordingly so need to get the callable name if it is not parsed names, and | COMMENT |
| LOW | pandas/core/strings/__init__.py | 21 | # - StringArray | COMMENT |
| LOW | pandas/core/interchange/dataframe_protocol.py | 101 | # first element is a buffer containing mask values indicating missing data; | COMMENT |
| LOW | pandas/core/dtypes/cast.py | 1201 | # e.g. with int8 dtype and right=512, we want to end up with | COMMENT |
| LOW | pandas/core/dtypes/concat.py | 101 | elif axis == 0: | COMMENT |
| LOW | pandas/core/groupby/grouper.py | 501 | # a passed Grouper like, directly get the grouper in the same way | COMMENT |
| LOW | pandas/core/groupby/grouper.py | 781 | # TODO: These if-block and else-block are almost same. | COMMENT |
| LOW | pandas/core/internals/ops.py | 81 | # if right_ea or left_ea: | COMMENT |
| LOW | pandas/core/internals/blocks.py | 921 | } | COMMENT |
| LOW | pandas/core/arrays/_arrow_string_mixins.py | 581 | # Interleave the three columns into [before[0], sep[0], after[0], | COMMENT |
| LOW | pandas/core/arrays/timedeltas.py | 921 | # in the last ulp). A single asi8 / pps division rounds at the tick | COMMENT |
| LOW | pandas/core/arrays/base.py | 541 | Returns | COMMENT |
| LOW | pandas/core/arrays/sparse/array.py | 3041 | # its Kleene NA semantics; densifying here loses them. | COMMENT |
| LOW | pandas/core/indexes/multi.py | 4281 | # this as a sequence of labels | COMMENT |
| LOW | pandas/core/indexes/multi.py | 4361 | # space instead of looping with per-element | COMMENT |
| LOW | pandas/core/indexes/multi.py | 4381 | # Comparing the -1 count against na_count instead loses | COMMENT |
| LOW | pandas/core/indexes/datetimelike.py | 801 | # GH#61086 freq may be equivalent but not equal (e.g. | COMMENT |
| LOW | pandas/core/indexes/base.py | 7421 | # s='A' e='B' | COMMENT |
| LOW | pandas/util/version/__init__.py | 401 | dev: tuple[str, int] | None, | COMMENT |
| LOW | pandas/io/stata.py | 861 | # -------------------- | COMMENT |
| LOW | pandas/io/parsers/readers.py | 241 | COMMENT | |
| LOW | pandas/io/formats/console.py | 21 | # Consider | COMMENT |
| LOW | pandas/io/formats/html.py | 341 | COMMENT | |
| LOW | pandas/io/formats/excel.py | 301 | # 'double' | COMMENT |
| LOW | pandas/io/formats/printing.py | 101 | # 1) If you're writing code internal to pandas (no I/O directly involved), | COMMENT |
| LOW | pandas/io/excel/_base.py | 1201 | # --> called to write additional DataFrames to disk | COMMENT |
| LOW | pandas/io/sas/sas_constants.py | 121 | # Source bytes are already utf-8: copy them verbatim into the column's value | COMMENT |
| LOW | pandas/tests/tools/test_to_datetime.py | 3741 | ): | COMMENT |
| LOW | pandas/tests/tools/test_to_datetime.py | 3761 | COMMENT | |
| LOW | pandas/tests/tools/test_to_datetime.py | 4821 | # GH#66510 iNaT == INT64_MIN, one below Timestamp.min. A value that renders or | COMMENT |
| LOW | pandas/tests/io/test_stata.py | 1721 | def test_date_parsing_ignores_format_details(self, column, datapath): | COMMENT |
| LOW | pandas/tests/io/parser/test_c_parser_only.py | 361 | @pytest.mark.parametrize("encoding", [None, "utf-8"]) | COMMENT |
| LOW | pandas/tests/io/parser/test_c_parser_only.py | 441 | tm.assert_frame_equal(result, expected) | COMMENT |
| LOW | pandas/tests/io/parser/test_c_parser_only.py | 881 | # made the padding restore that reservation, so the guard can no longer | COMMENT |
| LOW | pandas/tests/io/xml/test_xml.py | 41 | # [X] - ValueError: "names does not match length of child elements in xpath." | COMMENT |
| LOW | pandas/tests/io/xml/test_xml.py | 61 | # [X] - XSLTParseError: "document is not a stylesheet" | COMMENT |
| LOW | pandas/tests/io/xml/test_to_xml.py | 21 | COMMENT | |
| LOW | pandas/tests/io/xml/test_to_xml.py | 41 | # [X] - FileNotFoundError: "No such file or directory" | COMMENT |
| 45 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | doc/make.py | 217 | except Exception: | CODE |
| LOW | pandas/core/series.py | 6827 | except Exception as error: | CODE |
| LOW | pandas/core/frame.py | 15448 | except Exception: | STRING |
| LOW | pandas/core/frame.py | 15659 | except Exception: | STRING |
| LOW | pandas/core/indexing.py | 3834 | except Exception: | CODE |
| LOW | pandas/core/apply.py | 410 | except Exception as err: | CODE |
| LOW | pandas/core/apply.py | 465 | except Exception: | CODE |
| LOW | pandas/core/apply.py | 1239 | except Exception: | CODE |
| LOW⚡ | pandas/core/groupby/generic.py | 2945 | except Exception: | CODE |
| LOW | pandas/core/groupby/groupby.py | 1512 | except Exception as err: | CODE |
| LOW | pandas/core/arrays/_arrow_string_mixins.py | 75 | except Exception as err: | CODE |
| LOW | pandas/core/arrays/base.py | 439 | except Exception: | CODE |
| LOW | pandas/util/_print_versions.py | 81 | except Exception: | CODE |
| LOW | pandas/util/_exceptions.py | 25 | except Exception as err: | CODE |
| LOW | pandas/io/parquet.py | 145 | except Exception as err: | CODE |
| LOW | pandas/io/pytables.py | 1549 | except Exception as err: | CODE |
| LOW | pandas/io/pytables.py | 2239 | except Exception as detail: | CODE |
| LOW⚡ | pandas/io/_util.py | 330 | except Exception: | CODE |
| LOW⚡ | pandas/io/_util.py | 340 | except Exception: | CODE |
| LOW | pandas/io/sql.py | 768 | except Exception: | CODE |
| LOW | pandas/io/sql.py | 2195 | except Exception: | CODE |
| LOW | pandas/io/sql.py | 2791 | except Exception: | CODE |
| LOW | pandas/io/stata.py | 2983 | except Exception as exc: | CODE |
| MEDIUM | pandas/io/parsers/readers.py | 3051 | def __next__(self) -> DataFrame: | CODE |
| LOW | pandas/io/parsers/readers.py | 824 | except Exception: | CODE |
| LOW | pandas/io/parsers/readers.py | 963 | except Exception: | CODE |
| LOW | pandas/io/parsers/readers.py | 1108 | except Exception: | CODE |
| LOW | pandas/io/parsers/readers.py | 1288 | except Exception: | CODE |
| LOW | pandas/io/parsers/readers.py | 3106 | except Exception: | STRING |
| LOW | pandas/io/parsers/readers.py | 3187 | except Exception: | STRING |
| LOW | pandas/io/parsers/readers.py | 3201 | except Exception: | STRING |
| LOW | pandas/io/excel/_base.py | 594 | except Exception: | CODE |
| LOW | pandas/io/excel/_base.py | 993 | except Exception as err: | CODE |
| LOW | pandas/io/json/_json.py | 1418 | except Exception as ex: | CODE |
| LOW | pandas/io/json/_json.py | 1665 | except Exception: | CODE |
| LOW | pandas/io/json/_json.py | 1754 | except Exception: | CODE |
| LOW | pandas/io/sas/sas7bdat.py | 372 | except Exception: | CODE |
| LOW | pandas/io/sas/sas7bdat.py | 682 | except Exception: | CODE |
| LOW | pandas/io/sas/sas7bdat.py | 1078 | except Exception: | CODE |
| LOW | pandas/io/sas/sas_xport.py | 283 | except Exception: | CODE |
| LOW | pandas/tests/extension/base/methods.py | 622 | except Exception: | CODE |
| LOW | pandas/tests/extension/base/ops.py | 267 | except Exception as err: | CODE |
| LOW | pandas/tests/extension/base/ops.py | 324 | except Exception as err: | CODE |
| LOW | pandas/tests/extension/base/dim2.py | 211 | except Exception as err: | CODE |
| LOW | pandas/tests/extension/base/dim2.py | 216 | except Exception as err2: | CODE |
| LOW⚡ | pandas/tests/extension/base/dim2.py | 245 | except Exception as err: | CODE |
| LOW⚡ | pandas/tests/extension/base/dim2.py | 248 | except Exception as err2: | CODE |
| LOW | pandas/tests/extension/base/dim2.py | 292 | except Exception as err: | CODE |
| LOW | pandas/tests/extension/base/dim2.py | 295 | except Exception as err2: | CODE |
| MEDIUM | pandas/tests/io/test_html.py | 1573 | def run(self): | CODE |
| LOW | pandas/tests/io/test_html.py | 1576 | except Exception as err: | CODE |
| LOW | pandas/tests/io/test_html.py | 1508 | except Exception: | STRING |
| LOW | pandas/tests/io/test_sql.py | 609 | except Exception as err: | STRING |
| MEDIUM | pandas/tests/io/parser/test_parallel_read.py | 1848 | def tracked(*args, **kwargs): | CODE |
| LOW | pandas/tests/io/parser/test_parallel_read.py | 1851 | except Exception: | CODE |
| LOW | pandas/tests/frame/test_block_internals.py | 434 | except Exception: | CODE |
| MEDIUM | pandas/tests/frame/test_block_internals.py | 431 | def safe_is_const(s): | CODE |
| LOW | pandas/tests/arrays/arrow/test_ops.py | 197 | except Exception as err: | CODE |
| LOW | pandas/tests/api/test_api.py | 606 | except Exception: | CODE |
| LOW⚡ | pandas/tests/tslibs/test_conversion.py | 40 | except Exception as err: | CODE |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pandas/core/missing.py | 546 | # both directions... just use _interp_limit | COMMENT |
| LOW | pandas/core/missing.py | 1133 | # just use forwards | COMMENT |
| MEDIUM | pandas/core/generic.py | 1538 | # operations should utilize/extend these methods when possible so that we | COMMENT |
| MEDIUM | pandas/core/generic.py | 6739 | # robust in case we | COMMENT |
| LOW | pandas/core/generic.py | 4314 | # so just return them (GH 6394) | STRING |
| LOW⚡ | pandas/core/frame.py | 4662 | # NB: we can't just use self.loc[key] = value because that | STRING |
| LOW | pandas/core/apply.py | 1218 | # so just return a copy of the existing object | COMMENT |
| LOW | pandas/core/reshape/merge.py | 1371 | # make sure to just use the right values or vice-versa | COMMENT |
| LOW | pandas/core/reshape/reshape.py | 452 | # Otherwise, we just use each level item exactly once: | COMMENT |
| LOW | pandas/core/strings/accessor.py | 4883 | # ideally we just pass `dtype=arr.dtype` unconditionally, but this fails | STRING |
| LOW | pandas/core/groupby/grouper.py | 830 | # already have a BaseGrouper, just return it | COMMENT |
| MEDIUM | pandas/core/window/online.py | 72 | # used in conjunction with vals[i+1] | COMMENT |
| MEDIUM | pandas/core/window/numba_.py | 144 | # is to be used in conjunction with vals[i+1] | COMMENT |
| MEDIUM | pandas/core/window/numba_.py | 320 | # is to be used in conjunction with vals[i+1] | COMMENT |
| LOW | pandas/core/arrays/_ranges.py | 82 | # cannot just use e = Timestamp(end) + 1 because arange breaks when | COMMENT |
| LOW | pandas/core/arrays/masked.py | 826 | # special case, here we can simply return the underlying data | COMMENT |
| LOW | pandas/core/arrays/base.py | 2051 | # just pass that here instead of coercing to object. | STRING |
| LOW | pandas/core/indexes/base.py | 5430 | # TODO(ExtensionIndex): remove special-case, just use self._values | COMMENT |
| LOW | pandas/io/stata.py | 3038 | # ds_format - just use 114 | COMMENT |
| LOW | pandas/io/parsers/arrow_parser_wrapper.py | 172 | # just set to pyarrow default of None | COMMENT |
| LOW | pandas/io/json/_normalize.py | 42 | # Determine we have a JSON list to turn to lines otherwise just return the | COMMENT |
| LOW | pandas/tests/reshape/merge/test_merge_asof.py | 1906 | # just use a single ticker | COMMENT |
| LOW⚡ | pandas/tests/extension/base/dtype.py | 112 | # (we shortcut to just use that dtype as the common dtype), but | COMMENT |
| MEDIUM | pandas/tests/extension/base/interface.py | 170 | # the _cast_pointwise_result method should be robust to any input, | COMMENT |
| LOW | pandas/tests/io/test_stata.py | 202 | # TODO(GH#55564): just pass M8[s] to the constructor | COMMENT |
| LOW | pandas/tests/frame/test_query_eval.py | 471 | # list equality (really just set membership) | COMMENT |
| LOW | pandas/tests/frame/test_query_eval.py | 520 | # list equality (really just set membership) | COMMENT |
| LOW | pandas/tests/frame/test_query_eval.py | 561 | # list equality (really just set membership) | COMMENT |
| MEDIUM | pandas/tests/dtypes/test_inference.py | 896 | # make sure that this function is robust against it | COMMENT |
| MEDIUM | pandas/tests/dtypes/cast/test_promote.py | 58 | # Compare types in a way that is robust to platform-specific | COMMENT |
| LOW | pandas/tests/groupby/test_categorical.py | 2243 | # Only testing the ids/result_index, okay to just use one kernel | COMMENT |
| MEDIUM | pandas/tests/arrays/test_datetimes.py | 324 | # sufficiently robust | COMMENT |
| LOW⚡ | pandas/tests/tslibs/test_parsing.py | 112 | # Raise on invalid input, don't just return it | COMMENT |
| LOW | pandas/plotting/_matplotlib/tools.py | 314 | # one subplot, just return it instead of a 1-element array. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pandas/core/generic.py | 1998 | # Check if both conversions can be done without a copy | COMMENT |
| LOW | pandas/core/generic.py | 4786 | # Set level to zero in case of MultiIndex and label is string, | STRING |
| LOW | pandas/core/generic.py | 4792 | # Check if label doesn't exist along axis | STRING |
| LOW | pandas/core/reshape/merge.py | 1819 | # Check if we are trying to merge on obviously | COMMENT |
| LOW | pandas/core/internals/managers.py | 1327 | # Check if we can use _iset_single fastpath | COMMENT |
| LOW | pandas/core/computation/expr.py | 691 | # Check if this is a supported function name | COMMENT |
| LOW | pandas/core/arrays/base.py | 568 | # Check if the array is readonly | COMMENT |
| LOW | pandas/core/indexes/multi.py | 518 | # Check if elements of array are list-like | COMMENT |
| LOW | pandas/core/indexes/multi.py | 523 | # Check if lengths of all arrays are equal or not, | COMMENT |
| LOW | pandas/core/indexes/multi.py | 3890 | # Check if this tuple is a single key in our first level | COMMENT |
| LOW | pandas/io/formats/format.py | 1959 | # Check if all decimal numbers end in "0" | COMMENT |
| LOW | pandas/io/excel/_base.py | 942 | # Check if we have an empty dataset | COMMENT |
| LOW | pandas/tests/reshape/merge/test_merge.py | 1080 | # Check if working name in df | COMMENT |
| LOW | pandas/tests/apply/test_frame_apply.py | 806 | # Check if categorical comparisons on apply, GH 21239 | COMMENT |
| LOW | pandas/tests/apply/test_frame_apply.py | 1345 | # Check if name is still preserved when aggregating series instead | COMMENT |
| LOW | pandas/tests/extension/base/methods.py | 552 | # Check if the operation is supported pointwise for our scalars. If not, | COMMENT |
| LOW | pandas/tests/io/test_clipboard.py | 103 | # Set raising to False because WinError won't exist on non-windows platforms | COMMENT |
| LOW | pandas/tests/io/excel/test_readers.py | 230 | # Check if values match | COMMENT |
| LOW | pandas/tests/io/excel/test_readers.py | 234 | # Check if types match | COMMENT |
| LOW | pandas/tests/io/excel/test_writers.py | 1288 | # Read file without comment arg. | COMMENT |
| LOW | pandas/tests/io/excel/test_writers.py | 1308 | # Read file with default and explicit comment=None | COMMENT |
| LOW | pandas/tests/io/sas/test_sas7bdat.py | 463 | # Check if the SAS file has zero variables (PR #18184) | COMMENT |
| LOW | pandas/tests/io/pytables/test_file_handling.py | 210 | # Check if not setting complib or complevel results in no compression | COMMENT |
| LOW | pandas/tests/io/pytables/test_file_handling.py | 223 | # Check if file-defaults can be overridden on a per table basis | COMMENT |
| LOW | pandas/tests/io/pytables/test_file_handling.py | 273 | # Open file and check metadata for correct amount of compression | COMMENT |
| LOW⚡ | pandas/tests/indexing/multiindex/test_loc.py | 858 | # Check if get_loc matches for Index and MultiIndex | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/wheels.yml | 9 | # Alternatively, you can add labels to the pull request in order to trigger wheel | COMMENT |
| LOW | .github/workflows/unit-tests.yml | 435 | # To unfreeze, comment out the ``if: false`` condition, and make sure you update | COMMENT |
| MEDIUM | .github/workflows/unit-tests.yml | 445 | # Feel free to modify this comment as necessary. | COMMENT |
| LOW | pandas/core/reshape/merge.py | 1371 | # make sure to just use the right values or vice-versa | COMMENT |
| LOW | pandas/io/pytables.py | 5251 | # make sure to include levels if we have them | COMMENT |
| LOW | pandas/io/formats/excel.py | 1032 | # make sure to close opened file handles | COMMENT |
| LOW | pandas/io/excel/_base.py | 558 | # make sure to close opened file handles | COMMENT |
| LOW | pandas/tests/series/methods/test_reindex.py | 82 | # (don't forget to fix this) I think it's fixed | COMMENT |
| LOW | pandas/tests/series/methods/test_reindex.py | 82 | # (don't forget to fix this) I think it's fixed | COMMENT |
| LOW⚡ | pandas/tests/io/parser/test_compression.py | 181 | # make sure to create un-compressed file with zip extension | COMMENT |
| LOW | pandas/tests/indexing/test_chaining_and_caching.py | 309 | # GH 4939, make sure to update the cache on setitem | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | pandas/tests/io/formats/style/test_html.py | 18 | project_dir = pathlib.Path(__file__).parent.parent.parent.parent.parent.resolve() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pandas/tests/dtypes/test_inference.py | 1201 | # make sure the inferred dtype of the fixture is as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | pandas/core/interchange/column.py | 432 | # TODO: implement for other bit/byte masks? | COMMENT |
| LOW | pandas/tests/groupby/transform/test_transform.py | 1199 | # TODO: implement SeriesGroupBy.corrwith | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pandas/tests/io/formats/test_to_html.py | 17 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod " | CODE |
| LOW | pandas/tests/io/formats/test_to_html.py | 17 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod " | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pandas/core/groupby/grouper.py | 786 | # we need to check if it makes no side effect to subsequent processes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pandas/tests/io/json/test_ujson.py | 77 | def helper(expected_output, **encode_kwargs): | CODE |