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 presents the forensic synthetic code analysis of pandas-dev/pandas, a Python project with 49,184 GitHub stars. SynthScan v2.0 examined 714,370 lines of code across 1753 source files, recording 14776 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 24.6 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 14776 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/tests/test_pandas_web.py | 83 | def test_web_preprocessor_creates_releases(mock_response, context) -> 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/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 | 618 | def time_left_join_sorted_baseline(self, n): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 621 | def time_left_join_unsorted_left(self, n): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 624 | def time_right_join_unsorted_right(self, n): | CODE |
| LOW⚡ | asv_bench/benchmarks/join_merge.py | 627 | 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 | 566 | def time_merge_sorted_multiindex(self, dtypes, how): | CODE |
| LOW | asv_bench/benchmarks/join_merge.py | 586 | 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 |
| LOW⚡ | asv_bench/benchmarks/reshape.py | 219 | def time_pivot_table_categorical(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/reshape.py | 224 | def time_pivot_table_categorical_observed(self): | CODE |
| LOW⚡ | asv_bench/benchmarks/reshape.py | 234 | def time_pivot_table_margins_only_column(self): | CODE |
| 11030 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 | 978 | and idx.equals(values) | CODE |
| HIGH | pandas/core/resample.py | 2188 | and obj.index.equals(res_index) | CODE |
| HIGH⚡ | pandas/core/generic.py | 1452 | return self._mgr.equals(other._mgr) | CODE |
| HIGH | pandas/core/generic.py | 10048 | if (axis is None or axis == 0) and not self.index.equals(other.index): | CODE |
| HIGH | pandas/core/generic.py | 10056 | and not self.columns.equals(other.columns) | CODE |
| HIGH | pandas/core/generic.py | 10098 | if self.index.equals(other.index): | CODE |
| HIGH | pandas/core/generic.py | 10120 | if not join_index.equals(other.index): | CODE |
| HIGH | pandas/core/generic.py | 12614 | If all elements in Series are NA/null, returns None. | CODE |
| HIGH | pandas/core/generic.py | 12648 | If all elements in DataFrame are NA/null, returns None. | CODE |
| HIGH | pandas/core/generic.py | 12701 | If all elements in Series are NA/null, returns None. | CODE |
| HIGH | pandas/core/generic.py | 12735 | If all elements in DataFrame are NA/null, returns None. | CODE |
| HIGH⚡ | pandas/core/generic.py | 1433 | >>> df.equals(different_data_type) | STRING |
| HIGH⚡ | pandas/core/generic.py | 1440 | >>> df_nan1.equals(df_nan2) | STRING |
| HIGH⚡ | pandas/core/generic.py | 1446 | >>> df_nan1.equals(df_nan3) | STRING |
| HIGH | pandas/core/generic.py | 1411 | >>> df.equals(exactly_equal) | STRING |
| HIGH | pandas/core/generic.py | 1422 | >>> df.equals(different_column_type) | STRING |
| HIGH | pandas/core/series.py | 454 | elif not data.index.equals(index) or copy: | CODE |
| HIGH | pandas/core/series.py | 3766 | if self.index.equals(other.index): | CODE |
| HIGH | pandas/core/series.py | 7201 | if not left.index.equals(right.index): | CODE |
| HIGH | pandas/core/series.py | 7239 | if not self.index.equals(other.index): | CODE |
| HIGH | pandas/core/frame.py | 4336 | if isinstance(key, Series) and not key.index.equals(self.index): | STRING |
| HIGH | pandas/core/frame.py | 4747 | if len(cols_droplevel) and not cols_droplevel.equals(value.columns): | STRING |
| HIGH | pandas/core/frame.py | 4761 | if not cols_droplevel.equals(cols): | STRING |
| HIGH | pandas/core/frame.py | 9436 | assert self.index.equals(right.index) | STRING |
| HIGH | pandas/core/frame.py | 9437 | assert self.columns.equals(right.columns) | STRING |
| HIGH | pandas/core/frame.py | 9450 | assert right.index.equals(self.columns) | STRING |
| HIGH | pandas/core/frame.py | 9462 | assert right.index.equals(self.index) | STRING |
| HIGH | pandas/core/frame.py | 9566 | and not self.columns.equals(right.columns) | STRING |
| HIGH | pandas/core/frame.py | 19448 | if value.index.equals(index) or not len(index): | STRING |
| HIGH⚡ | pandas/core/indexing.py | 3074 | if not len(new_ix) or ser.index.equals(new_ix): | CODE |
| HIGH⚡ | pandas/core/indexing.py | 3083 | if ser.index.equals(ax) or not len(ax): | CODE |
| HIGH⚡ | pandas/core/indexing.py | 3093 | if ser.index.equals(ax): | CODE |
| HIGH⚡ | pandas/core/indexing.py | 3101 | if ser.index.equals(ax): | CODE |
| HIGH | pandas/core/indexing.py | 2728 | elif not unique_cols and value.columns.equals(self.obj.columns): | CODE |
| HIGH | pandas/core/indexing.py | 3129 | if df.index.equals(idx) and df.columns.equals(cols): | CODE |
| HIGH | pandas/core/indexing.py | 3137 | if df.index.equals(ax): | CODE |
| HIGH | pandas/core/indexing.py | 3480 | if isinstance(key, ABCSeries) and not key.index.equals(index): | CODE |
| HIGH | pandas/core/apply.py | 375 | if not isinstance(result, (ABCSeries, ABCDataFrame)) or not result.index.equals( | CODE |
| HIGH | pandas/core/reshape/concat.py | 491 | if not no_sort_result_index.equals(orig): | CODE |
| HIGH | pandas/core/reshape/concat.py | 653 | if not new_labels.equals(obj_labels): | CODE |
| HIGH | pandas/core/reshape/concat.py | 920 | if isinstance(hlevel, Index) and hlevel.equals(level): | CODE |
| HIGH | pandas/core/reshape/reshape.py | 934 | if not result.columns.equals(desired_columns): | CODE |
| HIGH | pandas/core/reshape/reshape.py | 1131 | if not result.columns.equals(desired_columns): | CODE |
| HIGH | pandas/core/strings/accessor.py | 646 | if any(not data.index.equals(x.index) for x in others): | CODE |
| HIGH | pandas/core/interchange/dataframe_protocol.py | 267 | - Data types not included: complex, Arrow-style null, binary, decimal, | STRING |
| HIGH | pandas/core/interchange/column.py | 226 | null, value = _NULL_DESCRIPTION[kind] | CODE |
| HIGH | pandas/core/interchange/column.py | 230 | return null, value | CODE |
| HIGH | pandas/core/interchange/column.py | 386 | null, invalid = self.describe_null | CODE |
| HIGH⚡ | pandas/core/interchange/column.py | 430 | msg = f"{_NO_VALIDITY_BUFFER[null]} so does not have a separate mask" | CODE |
| HIGH | pandas/core/dtypes/missing.py | 577 | return left.equals(right) | CODE |
| HIGH | pandas/core/dtypes/missing.py | 720 | # a block is NOT null, chunks should help in such cases. | COMMENT |
| 451 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | AUTHORS.md | 38 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | AUTHORS.md | 45 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | doc/source/conf.py | 29 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | doc/source/conf.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/conftest.py | 624 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/conftest.py | 626 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/conftest.py | 972 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/conftest.py | 974 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/conftest.py | 1228 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | pandas/conftest.py | 1230 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 98 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 100 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 272 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 274 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 296 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 298 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 505 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 507 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 543 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 545 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 856 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 858 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1024 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1026 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1047 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1049 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1273 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1275 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1352 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 1354 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 2030 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/conftest.py | 2032 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/algorithms.py | 1518 | # -------------------------------------------------------------------- | 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 | 1454 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 241 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 301 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 483 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 495 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 945 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 1348 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 1631 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 1918 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 2068 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 2110 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 2161 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 2194 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 6416 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 7006 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 8228 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 8410 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 11362 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | pandas/core/generic.py | 4102 | # ---------------------------------------------------------------------- | STRING |
| MEDIUM | pandas/core/generic.py | 4457 | # ---------------------------------------------------------------------- | STRING |
| MEDIUM | pandas/core/generic.py | 6235 | # ---------------------------------------------------------------------- | STRING |
| MEDIUM | pandas/core/generic.py | 6368 | # ---------------------------------------------------------------------- | STRING |
| MEDIUM | pandas/core/generic.py | 12484 | # ---------------------------------------------------------------------- | STRING |
| 551 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 | 145 | CODE | |
| LOW | asv_bench/benchmarks/join_merge.py | 631 | 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 | 892 | CODE | |
| LOW | asv_bench/benchmarks/sparse.py | 227 | CODE | |
| LOW | asv_bench/benchmarks/attrs_caching.py | 76 | CODE | |
| LOW | asv_bench/benchmarks/inference.py | 302 | CODE | |
| LOW | asv_bench/benchmarks/categoricals.py | 337 | CODE | |
| LOW | asv_bench/benchmarks/stat_ops.py | 168 | CODE | |
| LOW | asv_bench/benchmarks/eval.py | 65 | CODE | |
| LOW | asv_bench/benchmarks/indexing.py | 623 | 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 | 717 | 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/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 | 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 | |
| LOW | pandas/_typing.py | 53 | CODE | |
| LOW | pandas/_typing.py | 53 | CODE | |
| LOW | pandas/_typing.py | 53 | CODE | |
| LOW | pandas/_typing.py | 59 | CODE | |
| LOW | pandas/_typing.py | 59 | CODE | |
| LOW | pandas/_typing.py | 63 | CODE | |
| LOW | pandas/_typing.py | 64 | CODE | |
| LOW | pandas/_typing.py | 65 | CODE | |
| LOW | pandas/_typing.py | 66 | CODE | |
| LOW | pandas/_typing.py | 66 | CODE | |
| 1112 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/pandas_web.py | 273 | 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 | 490 | 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 | 87 | CODE | |
| LOW | scripts/validate_min_versions_in_sync.py | 129 | CODE | |
| LOW | doc/make.py | 72 | CODE | |
| LOW | pandas/compat/_optional.py | 107 | CODE | |
| LOW | pandas/core/nanops.py | 260 | CODE | |
| LOW | pandas/core/nanops.py | 349 | CODE | |
| LOW | pandas/core/nanops.py | 757 | CODE | |
| LOW | pandas/core/nanops.py | 1124 | CODE | |
| LOW | pandas/core/nanops.py | 1493 | CODE | |
| LOW | pandas/core/nanops.py | 1608 | CODE | |
| LOW | pandas/core/nanops.py | 1668 | CODE | |
| LOW | pandas/core/nanops.py | 1127 | CODE | |
| LOW | pandas/core/missing.py | 83 | CODE | |
| LOW | pandas/core/algorithms.py | 112 | CODE | |
| LOW | pandas/core/algorithms.py | 506 | CODE | |
| LOW | pandas/core/algorithms.py | 904 | CODE | |
| LOW | pandas/core/algorithms.py | 1407 | CODE | |
| LOW | pandas/core/algorithms.py | 1724 | CODE | |
| LOW | pandas/core/resample.py | 3058 | CODE | |
| LOW | pandas/core/construction.py | 82 | CODE | |
| LOW | pandas/core/construction.py | 579 | CODE | |
| LOW | pandas/core/construction.py | 760 | CODE | |
| LOW | pandas/core/construction.py | 836 | CODE | |
| LOW | pandas/core/generic.py | 2126 | CODE | |
| LOW | pandas/core/generic.py | 3467 | CODE | |
| LOW | pandas/core/generic.py | 3757 | CODE | |
| LOW | pandas/core/generic.py | 4206 | CODE | |
| LOW | pandas/core/generic.py | 4768 | CODE | |
| LOW | pandas/core/generic.py | 5313 | CODE | |
| LOW | pandas/core/generic.py | 6239 | CODE | |
| LOW | pandas/core/generic.py | 6316 | CODE | |
| LOW | pandas/core/generic.py | 6471 | CODE | |
| LOW | pandas/core/generic.py | 7048 | CODE | |
| LOW | pandas/core/generic.py | 7510 | CODE | |
| LOW | pandas/core/generic.py | 9851 | CODE | |
| LOW | pandas/core/generic.py | 10142 | CODE | |
| LOW | pandas/core/series.py | 352 | CODE | |
| LOW | pandas/core/series.py | 1401 | CODE | |
| LOW | pandas/core/series.py | 6428 | CODE | |
| LOW | pandas/core/series.py | 6519 | CODE | |
| 598 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/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 |
| HIGH | pandas/core/indexes/period.py | 0 | can we compare values of the given dtype to our own? | STRING |
| HIGH | pandas/core/indexes/base.py | 0 | can we compare values of the given dtype to our own? | STRING |
| HIGH | pandas/core/indexes/range.py | 0 | create a new index with the same class as the caller, don't copy the data, use the same object attributes with passed in | STRING |
| HIGH | pandas/core/indexes/multi.py | 0 | create a new index with the same class as the caller, don't copy the data, use the same object attributes with passed in | STRING |
| HIGH | pandas/core/indexes/base.py | 0 | create a new index with the same class as the caller, don't copy the data, use the same object attributes with passed in | STRING |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | asv_bench/benchmarks/groupby.py | 178 | CODE | |
| LOW | pandas/core/nanops.py | 1222 | CODE | |
| LOW | pandas/core/nanops.py | 1268 | CODE | |
| LOW | pandas/core/nanops.py | 1170 | CODE | |
| LOW | pandas/core/missing.py | 455 | CODE | |
| LOW | pandas/core/algorithms.py | 469 | CODE | |
| LOW | pandas/core/resample.py | 2428 | CODE | |
| LOW | pandas/core/arraylike.py | 438 | CODE | |
| LOW | pandas/core/arraylike.py | 555 | CODE | |
| LOW | pandas/core/generic.py | 2198 | CODE | |
| LOW | pandas/core/generic.py | 2372 | CODE | |
| LOW | pandas/core/generic.py | 2709 | CODE | |
| LOW | pandas/core/generic.py | 3413 | CODE | |
| LOW | pandas/core/generic.py | 3440 | CODE | |
| LOW | pandas/core/generic.py | 3467 | CODE | |
| LOW | pandas/core/generic.py | 3832 | CODE | |
| LOW | pandas/core/generic.py | 3859 | CODE | |
| LOW | pandas/core/generic.py | 3886 | CODE | |
| LOW | pandas/core/generic.py | 4423 | CODE | |
| LOW | pandas/core/generic.py | 5213 | CODE | |
| LOW | pandas/core/generic.py | 5228 | CODE | |
| LOW | pandas/core/generic.py | 5243 | CODE | |
| LOW | pandas/core/generic.py | 5257 | CODE | |
| LOW | pandas/core/generic.py | 5313 | CODE | |
| LOW | pandas/core/generic.py | 9202 | CODE | |
| LOW | pandas/core/generic.py | 11045 | CODE | |
| LOW | pandas/core/generic.py | 12268 | CODE | |
| LOW | pandas/core/generic.py | 11634 | CODE | |
| LOW | pandas/core/series.py | 1563 | CODE | |
| LOW | pandas/core/series.py | 1579 | CODE | |
| LOW | pandas/core/series.py | 1597 | CODE | |
| LOW | pandas/core/series.py | 3074 | CODE | |
| LOW | pandas/core/series.py | 4130 | CODE | |
| LOW | pandas/core/series.py | 4145 | CODE | |
| LOW | pandas/core/series.py | 4160 | CODE | |
| LOW | pandas/core/series.py | 4174 | CODE | |
| LOW | pandas/core/series.py | 5153 | CODE | |
| LOW | pandas/core/series.py | 5306 | CODE | |
| LOW | pandas/core/series.py | 5647 | CODE | |
| LOW | pandas/core/series.py | 8862 | CODE | |
| LOW | pandas/core/frame.py | 1002 | CODE | |
| LOW | pandas/core/frame.py | 1027 | CODE | |
| LOW | pandas/core/frame.py | 1051 | CODE | |
| LOW | pandas/core/frame.py | 2479 | CODE | |
| LOW | pandas/core/frame.py | 3120 | CODE | |
| LOW | pandas/core/frame.py | 3149 | CODE | |
| LOW | pandas/core/frame.py | 3177 | CODE | |
| LOW | pandas/core/frame.py | 3401 | CODE | |
| LOW | pandas/core/frame.py | 3423 | CODE | |
| LOW | pandas/core/frame.py | 3444 | CODE | |
| LOW | pandas/core/frame.py | 6044 | CODE | |
| LOW | pandas/core/frame.py | 6527 | CODE | |
| LOW | pandas/core/frame.py | 6541 | CODE | |
| LOW | pandas/core/frame.py | 6554 | CODE | |
| LOW | pandas/core/frame.py | 8648 | CODE | |
| LOW | pandas/core/frame.py | 8663 | CODE | |
| LOW | pandas/core/frame.py | 8678 | CODE | |
| LOW | pandas/core/frame.py | 8692 | CODE | |
| LOW | pandas/core/frame.py | 9819 | CODE | |
| LOW | pandas/core/frame.py | 13203 | CODE | |
| 208 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | doc/source/conf.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | pandas/_typing.py | 580 | __all__ = ["type_t"] | CODE |
| LOW | pandas/__init__.py | 228 | __all__ = [ | STRING |
| LOW | pandas/testing.py | 12 | __all__ = [ | CODE |
| LOW | pandas/compat/_constants.py | 29 | __all__ = [ | CODE |
| LOW | pandas/compat/__init__.py | 145 | __all__ = [ | CODE |
| LOW | pandas/compat/numpy/__init__.py | 49 | __all__ = [ | CODE |
| LOW | pandas/core/nanops.py | 63 | def set_use_bottleneck(v: bool = True) -> None: | CODE |
| LOW | pandas/core/generic.py | 728 | def _set_axis_nocheck(self, labels, axis: Axis, inplace: Literal[True]) -> None: ... | CODE |
| LOW | pandas/core/generic.py | 743 | def _set_axis(self, axis: AxisInt, labels: AnyArrayLike | list) -> None: | CODE |
| LOW | pandas/core/generic.py | 4851 | def _update_inplace(self, result) -> None: | STRING |
| LOW⚡ | pandas/core/series.py | 1259 | def _set_labels(self, key, value) -> None: | CODE |
| LOW⚡ | pandas/core/series.py | 1267 | def _set_values(self, key, value) -> None: | CODE |
| LOW⚡ | pandas/core/series.py | 1273 | def _set_value(self, label, value, takeable: bool = False) -> None: | CODE |
| LOW | pandas/core/series.py | 199 | __all__ = ["Series"] | CODE |
| LOW | pandas/core/series.py | 1242 | def _set_with_engine(self, key, value) -> None: | CODE |
| LOW | pandas/core/series.py | 1248 | def _set_with(self, key, value) -> None: | CODE |
| LOW | pandas/core/api.py | 84 | __all__ = [ | CODE |
| LOW⚡ | pandas/core/frame.py | 4627 | def _setitem_slice(self, key: slice, value) -> None: | STRING |
| LOW⚡ | pandas/core/frame.py | 4633 | def _setitem_array(self, key, value) -> None: | STRING |
| LOW | pandas/core/frame.py | 4715 | def _setitem_frame(self, key, value) -> None: | STRING |
| LOW | pandas/core/frame.py | 4730 | def _set_item_frame_value(self, key, value: DataFrame) -> None: | STRING |
| LOW | pandas/core/frame.py | 4823 | def _set_item(self, key, value) -> None: | STRING |
| LOW | pandas/core/col.py | 432 | __all__ = ["Expression", "col"] | CODE |
| LOW | pandas/core/indexing.py | 2457 | def _setitem_new_column(self, indexer, key, value, name: str) -> None: | CODE |
| LOW | pandas/core/indexing.py | 2522 | def _setitem_with_indexer(self, indexer, value, name: str = "iloc") -> None: | CODE |
| LOW | pandas/core/indexing.py | 2682 | def _setitem_with_indexer_2d_value(self, indexer, value) -> None: | CODE |
| LOW | pandas/core/indexing.py | 2769 | def _setitem_single_column(self, loc: int, value, plane_indexer) -> None: | CODE |
| LOW | pandas/core/indexing.py | 2831 | 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 | 1343 | __all__ = [ | CODE |
| LOW | pandas/core/util/numba_.py | 25 | def set_use_numba(enable: bool = False) -> None: | CODE |
| LOW | pandas/core/dtypes/api.py | 43 | __all__ = [ | CODE |
| LOW | pandas/core/dtypes/common.py | 1875 | __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 | 1003 | def set_inplace(self, locs, values: ArrayLike, copy: bool = False) -> None: | CODE |
| LOW | pandas/core/internals/blocks.py | 2052 | def set_inplace(self, locs, values: ArrayLike, copy: bool = False) -> None: | CODE |
| LOW | pandas/core/internals/managers.py | 271 | def set_axis(self, axis: AxisInt, new_labels: Index) -> None: | CODE |
| LOW | pandas/core/internals/managers.py | 2293 | def set_values(self, values: ArrayLike) -> None: | CODE |
| LOW | pandas/core/computation/check.py | 8 | __all__ = ["NUMEXPR_INSTALLED"] | CODE |
| LOW | pandas/core/computation/expressions.py | 50 | def set_use_numexpr(v: bool = True) -> None: | CODE |
| LOW | pandas/core/computation/expressions.py | 68 | def set_numexpr_threads(n=None) -> None: | CODE |
| LOW | pandas/core/computation/expressions.py | 275 | 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 | 956 | 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 | 67 | __all__ = [ | CODE |
| LOW | pandas/core/sparse/api.py | 5 | __all__ = ["SparseArray", "SparseDtype"] | CODE |
| LOW | pandas/core/indexes/multi.py | 1697 | def _set_names(self, names, *, level=None) -> None: | CODE |
| LOW | pandas/core/indexes/api.py | 39 | __all__ = [ | CODE |
| LOW | pandas/core/indexes/base.py | 219 | __all__ = ["Index"] | CODE |
| LOW | pandas/util/_decorators.py | 453 | __all__ = [ | CODE |
| LOW | pandas/util/_tester.py | 60 | __all__ = ["test"] | CODE |
| LOW | pandas/util/version/__init__.py | 19 | __all__ = ["VERSION_PATTERN", "InvalidVersion", "Version", "parse"] | CODE |
| 57 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 | 1340 | # Create the series | COMMENT |
| MEDIUM | pandas/core/apply.py | 1540 | # 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 | 104 | # 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 | 507 | # 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 | 361 | # Create the parser. | COMMENT |
| MEDIUM | pandas/io/excel/_base.py | 1157 | # Defining an ExcelWriter implementation (see abstract methods for more...) | COMMENT |
| MEDIUM | pandas/io/excel/_xlsxwriter.py | 105 | # Create an XlsxWriter format object. | COMMENT |
| MEDIUM | pandas/io/clipboard/__init__.py | 459 | # This function is heavily based on | COMMENT |
| MEDIUM | pandas/tests/test_optional_dependency.py | 69 | # Create a fake module with a submodule | COMMENT |
| MEDIUM | pandas/tests/series/test_formats.py | 293 | # Define a stub extension type with just enough code to run Series.__repr__() | COMMENT |
| MEDIUM | pandas/tests/series/accessors/test_cat_accessor.py | 128 | # 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 | 102 | # This method is used by other libraries (e.g. dask) | COMMENT |
| MEDIUM | pandas/tests/resample/test_period_index.py | 339 | # 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 | 43 | # Define a TradingDay offset | COMMENT |
| MEDIUM⚡ | pandas/tests/libs/test_lib.py | 336 | # Define a custom ndarray subclass | COMMENT |
| MEDIUM | pandas/tests/plotting/frame/test_frame_color.py | 729 | # Creating a DataFrame with duplicate column labels and testing colors of them. | COMMENT |
| MEDIUM⚡ | pandas/tests/arithmetic/test_datetime64.py | 778 | # 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 | 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 | # module level import not at top of file | 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 | 481 | COMMENT | |
| LOW | doc/source/conf.py | 501 | # If true, the current module name will be prepended to all description | COMMENT |
| LOW | doc/source/conf.py | 601 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, | COMMENT |
| LOW | doc/source/conf.py | 701 | # If true, the index is split into individual pages for each letter. | COMMENT |
| LOW | doc/source/conf.py | 741 | ) | COMMENT |
| LOW | doc/source/conf.py | 821 | """ | COMMENT |
| LOW | pandas/core/nanops.py | 161 | # Bottleneck chokes on datetime64, PeriodDtype (or an EA) | COMMENT |
| LOW | pandas/core/arraylike.py | 401 | if result is not NotImplemented: | COMMENT |
| LOW | pandas/core/frame.py | 2381 | # followed by those in its columns. | COMMENT |
| LOW | pandas/core/indexing.py | 2801 | # We want to raise for | COMMENT |
| LOW | pandas/core/apply.py | 2101 | reorder_mask = not isinstance(result, ABCSeries) and len(result.columns) > 1 | 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/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/arrays/datetimelike.py | 401 | # I'm fudging the types a bit here. "Any" above really depends | COMMENT |
| LOW | pandas/core/arrays/base.py | 541 | ------- | COMMENT |
| LOW | pandas/core/indexes/base.py | 7341 | end_slice = self.get_slice_bound(end, "right") | COMMENT |
| LOW | pandas/util/version/__init__.py | 401 | dev: tuple[str, int] | None, | COMMENT |
| LOW | pandas/io/stata.py | 801 | # -------------------- | COMMENT |
| LOW | pandas/io/parsers/readers.py | 2841 | Default values of input parameters. | COMMENT |
| LOW | pandas/io/formats/console.py | 21 | # Consider | COMMENT |
| LOW | pandas/io/formats/html.py | 341 | # see gh-22579 | COMMENT |
| LOW | pandas/io/formats/printing.py | 81 | """ | COMMENT |
| LOW | pandas/io/formats/printing.py | 101 | # use pprint_thing(). | COMMENT |
| LOW | pandas/io/excel/_base.py | 1161 | # --> called to write additional DataFrames to disk | COMMENT |
| LOW | pandas/io/sas/sas_xport.py | 201 | shift[np.where(xport1 & 0x00800000)] = 3 | COMMENT |
| LOW | pandas/tests/tools/test_to_datetime.py | 3121 | # GH 58859 | COMMENT |
| LOW | pandas/tests/tools/test_to_datetime.py | 3141 | # 2.5.3 10-11-12 [dayfirst=1, yearfirst=1] -> 2010-12-11 00:00:00 | COMMENT |
| LOW | pandas/tests/extension/base/ops.py | 41 | # In _check_op we check that the result of a pointwise operation | COMMENT |
| LOW | pandas/tests/io/excel/test_readers.py | 821 | def test_reading_all_sheets(self, read_ext): | COMMENT |
| LOW | pandas/tests/io/parser/test_c_parser_only.py | 341 | def test_parse_trim_buffers(c_parser_only, encoding): | COMMENT |
| LOW | pandas/tests/io/parser/common/test_float.py | 121 | # When a 17-digit mantissa's 16-digit prefix crosses 2^53 | COMMENT |
| LOW | pandas/tests/io/xml/test_xml.py | 41 | # [X] - ImportError: "lxml not found, please install or use the etree parser." | COMMENT |
| LOW | pandas/tests/io/xml/test_xml.py | 61 | COMMENT | |
| LOW | pandas/tests/io/xml/test_to_xml.py | 21 | from pandas.io.common import get_handle | COMMENT |
| LOW | pandas/tests/io/xml/test_to_xml.py | 41 | # [X] - TypeError: "...is not a valid type for attr_cols" | COMMENT |
| LOW | pandas/tests/io/pytables/test_compat.py | 101 | COMMENT | |
| LOW | pandas/tests/io/pytables/test_compat.py | 121 | # if legacy_file.endswith("table.h5"): | COMMENT |
| LOW | pandas/tests/frame/methods/test_reindex.py | 201 | # MultiIndex object correctly when using no filling, backfilling, and | COMMENT |
| LOW | pandas/tests/frame/methods/test_reindex.py | 221 | # 1 0 A | COMMENT |
| LOW | pandas/tests/plotting/frame/test_frame.py | 981 | def test_plot_scatter_with_c_array(self): | COMMENT |
| LOW | pandas/tests/arrays/sparse/test_libsparse.py | 101 | def test_index_make_union(self, xloc, xlen, yloc, ylen, eloc, elen, test_length): | COMMENT |
| LOW | pandas/tests/arrays/sparse/test_libsparse.py | 121 | # Case 6 | COMMENT |
| LOW | pandas/tests/indexes/multi/test_indexing.py | 301 | result = idx.get_indexer(labels) | COMMENT |
| LOW | pandas/tests/indexes/multi/test_indexing.py | 361 | err = NotImplementedError | COMMENT |
| LOW | pandas/tests/indexes/multi/test_indexing.py | 381 | # 7: 7 | COMMENT |
| LOW | pandas/tests/indexes/multi/test_indexing.py | 461 | COMMENT | |
| LOW | pandas/tests/indexes/multi/test_indexing.py | 481 | # 6: 2 1 | COMMENT |
| LOW | pandas/tests/indexes/multi/test_partial_indexing.py | 21 | # c 5 | COMMENT |
| LOW | pandas/_libs/include/pandas/portable.h | 21 | #define getdigit_ascii(c, default) \ | COMMENT |
| LOW | pandas/_libs/include/pandas/parser/pd_parser.h | 61 | # define del_rd_source(src) PandasParserAPI->del_rd_source((src)) | COMMENT |
| LOW | …as/_libs/include/pandas/vendored/ujson/lib/ultrajson.h | 61 | COMMENT | |
| 18 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pandas/core/missing.py | 518 | # both directions... just use _interp_limit | COMMENT |
| LOW | pandas/core/missing.py | 1102 | # just use forwards | COMMENT |
| MEDIUM | pandas/core/generic.py | 1636 | # operations should utilize/extend these methods when possible so that we | COMMENT |
| MEDIUM | pandas/core/generic.py | 6608 | # robust in case we | COMMENT |
| LOW | pandas/core/generic.py | 4365 | # so just return them (GH 6394) | STRING |
| LOW⚡ | pandas/core/frame.py | 4628 | # NB: we can't just use self.loc[key] = value because that | STRING |
| LOW | pandas/core/apply.py | 1127 | # so just return a copy of the existing object | COMMENT |
| LOW | pandas/core/reshape/merge.py | 1344 | # make sure to just use the right values or vice-versa | COMMENT |
| LOW | pandas/core/reshape/reshape.py | 429 | # Otherwise, we just use each level item exactly once: | COMMENT |
| LOW | pandas/core/strings/accessor.py | 4806 | # 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 | 70 | # 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 | 801 | # 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 | 5382 | # TODO(ExtensionIndex): remove special-case, just use self._values | COMMENT |
| LOW | pandas/io/stata.py | 2985 | # ds_format - just use 114 | COMMENT |
| LOW | pandas/io/parsers/arrow_parser_wrapper.py | 118 | # just set to pyarrow default of None | COMMENT |
| LOW | pandas/io/json/_normalize.py | 43 | # Determine we have a JSON list to turn to lines otherwise just return the | COMMENT |
| LOW | pandas/tests/reshape/merge/test_merge_asof.py | 1909 | # 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 | 176 | # the _cast_pointwise_result method should be robust to any input, | COMMENT |
| LOW | pandas/tests/io/test_stata.py | 194 | # TODO(GH#55564): just pass M8[s] to the constructor | COMMENT |
| LOW | pandas/tests/frame/test_query_eval.py | 298 | # list equality (really just set membership) | COMMENT |
| LOW | pandas/tests/frame/test_query_eval.py | 345 | # list equality (really just set membership) | COMMENT |
| LOW | pandas/tests/frame/test_query_eval.py | 386 | # list equality (really just set membership) | COMMENT |
| MEDIUM | pandas/tests/dtypes/test_inference.py | 813 | # 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 | 2163 | # Only testing the ids/result_index, okay to just use one kernel | COMMENT |
| MEDIUM | pandas/tests/arrays/test_datetimes.py | 294 | # sufficiently robust | COMMENT |
| LOW⚡ | pandas/tests/tslibs/test_parsing.py | 77 | # 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 | doc/make.py | 209 | except Exception: | CODE |
| LOW | pandas/core/series.py | 6638 | except Exception as error: | CODE |
| LOW | pandas/core/frame.py | 14694 | except Exception: | STRING |
| LOW | pandas/core/apply.py | 364 | except Exception as err: | CODE |
| LOW | pandas/core/apply.py | 419 | except Exception: | CODE |
| LOW | pandas/core/apply.py | 1148 | except Exception: | CODE |
| LOW⚡ | pandas/core/groupby/generic.py | 2887 | except Exception: | CODE |
| LOW | pandas/core/groupby/groupby.py | 1511 | except Exception as err: | CODE |
| LOW | pandas/core/arrays/_arrow_string_mixins.py | 74 | except Exception as err: | CODE |
| LOW | pandas/core/arrays/base.py | 438 | 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/pytables.py | 1529 | except Exception as err: | CODE |
| LOW | pandas/io/pytables.py | 2214 | except Exception as detail: | CODE |
| LOW⚡ | pandas/io/_util.py | 268 | except Exception: | CODE |
| LOW⚡ | pandas/io/_util.py | 278 | except Exception: | CODE |
| LOW | pandas/io/sql.py | 716 | except Exception: | CODE |
| LOW | pandas/io/sql.py | 2141 | except Exception: | CODE |
| LOW | pandas/io/sql.py | 2736 | except Exception: | CODE |
| LOW | pandas/io/stata.py | 2930 | except Exception as exc: | CODE |
| MEDIUM | pandas/io/parsers/readers.py | 2453 | def __next__(self) -> DataFrame: | CODE |
| LOW | pandas/io/parsers/readers.py | 2505 | except Exception: | STRING |
| LOW | pandas/io/parsers/readers.py | 2548 | except Exception: | STRING |
| LOW | pandas/io/parsers/readers.py | 2562 | except Exception: | STRING |
| LOW | pandas/io/excel/_base.py | 566 | except Exception: | CODE |
| LOW | pandas/io/excel/_base.py | 961 | except Exception as err: | CODE |
| LOW | pandas/io/json/_json.py | 1357 | except Exception as ex: | CODE |
| LOW | pandas/io/json/_json.py | 1607 | except Exception: | CODE |
| LOW | pandas/io/sas/sas7bdat.py | 241 | except Exception: | CODE |
| LOW | pandas/io/sas/sas_xport.py | 263 | except Exception: | CODE |
| LOW | pandas/tests/extension/base/methods.py | 587 | except Exception: | CODE |
| LOW | pandas/tests/extension/base/ops.py | 225 | except Exception as err: | CODE |
| LOW | pandas/tests/extension/base/ops.py | 279 | 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 | 1539 | def run(self): | CODE |
| LOW | pandas/tests/io/test_html.py | 1542 | except Exception as err: | CODE |
| LOW | pandas/tests/io/test_html.py | 1474 | except Exception: | STRING |
| LOW | pandas/tests/frame/test_block_internals.py | 442 | except Exception: | CODE |
| MEDIUM | pandas/tests/frame/test_block_internals.py | 439 | def safe_is_const(s): | CODE |
| LOW | pandas/tests/api/test_api.py | 577 | except Exception: | CODE |
| LOW⚡ | pandas/tests/tslibs/test_conversion.py | 42 | except Exception as err: | CODE |
| LOW⚡ | pandas/tests/tslibs/test_conversion.py | 47 | except Exception as err: | CODE |
| LOW | pandas/plotting/_matplotlib/converter.py | 339 | except Exception: | CODE |
| LOW | pandas/plotting/_matplotlib/converter.py | 363 | except Exception: | CODE |
| LOW | pandas/plotting/_matplotlib/converter.py | 477 | except Exception: # pragma: no cover | CODE |
| MEDIUM | pandas/plotting/_matplotlib/converter.py | 336 | def try_parse(values): | CODE |
| LOW | pandas/plotting/_matplotlib/core.py | 1747 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pandas/core/generic.py | 2096 | # Check if both conversions can be done without a copy | COMMENT |
| LOW | pandas/core/generic.py | 4818 | # Set level to zero in case of MultiIndex and label is string, | STRING |
| LOW | pandas/core/generic.py | 4824 | # Check if label doesn't exist along axis | STRING |
| LOW | pandas/core/reshape/merge.py | 1789 | # Check if we are trying to merge on obviously | COMMENT |
| LOW | pandas/core/internals/managers.py | 1316 | # Check if we can use _iset_single fastpath | COMMENT |
| LOW | pandas/core/computation/expr.py | 676 | # Check if this is a supported function name | COMMENT |
| LOW | pandas/core/arrays/datetimes.py | 3225 | # Check if the offset preserves start's time-of-day | STRING |
| LOW | pandas/core/arrays/base.py | 567 | # Check if the array is readonly | COMMENT |
| LOW | pandas/core/indexes/multi.py | 502 | # Check if elements of array are list-like | COMMENT |
| LOW | pandas/core/indexes/multi.py | 507 | # Check if lengths of all arrays are equal or not, | COMMENT |
| LOW | pandas/core/indexes/multi.py | 3868 | # Check if this tuple is a single key in our first level | COMMENT |
| LOW | pandas/io/formats/format.py | 1833 | # Check if all decimal numbers end in "0" | COMMENT |
| LOW | pandas/io/excel/_base.py | 910 | # Check if we have an empty dataset | COMMENT |
| LOW | pandas/tests/reshape/merge/test_merge.py | 1091 | # Check if working name in df | COMMENT |
| LOW | pandas/tests/apply/test_frame_apply.py | 801 | # Check if categorical comparisons on apply, GH 21239 | COMMENT |
| LOW | pandas/tests/apply/test_frame_apply.py | 1330 | # Check if name is still preserved when aggregating series instead | COMMENT |
| LOW | pandas/tests/extension/base/methods.py | 517 | # Check if the operation is supported pointwise for our scalars. If not, | COMMENT |
| LOW | pandas/tests/io/test_clipboard.py | 106 | # Set raising to False because WinError won't exist on non-windows platforms | COMMENT |
| LOW | pandas/tests/io/excel/test_readers.py | 214 | # Check if values match | COMMENT |
| LOW | pandas/tests/io/excel/test_readers.py | 218 | # Check if types match | COMMENT |
| LOW | pandas/tests/io/excel/test_writers.py | 1276 | # Read file without comment arg. | COMMENT |
| LOW | pandas/tests/io/excel/test_writers.py | 1296 | # Read file with default and explicit comment=None | COMMENT |
| LOW | pandas/tests/io/sas/test_sas7bdat.py | 228 | # Check if the SAS file has zero variables (PR #18184) | COMMENT |
| LOW | pandas/tests/io/pytables/test_file_handling.py | 217 | # Check if not setting complib or complevel results in no compression | COMMENT |
| LOW | pandas/tests/io/pytables/test_file_handling.py | 230 | # Check if file-defaults can be overridden on a per table basis | COMMENT |
| LOW | pandas/tests/io/pytables/test_file_handling.py | 280 | # Open file and check metadata for correct amount of compression | COMMENT |
| LOW⚡ | pandas/tests/indexing/multiindex/test_loc.py | 854 | # 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 | 1344 | # make sure to just use the right values or vice-versa | COMMENT |
| LOW | pandas/io/pytables.py | 5048 | # make sure to include levels if we have them | COMMENT |
| LOW | pandas/io/formats/excel.py | 1021 | # make sure to close opened file handles | COMMENT |
| LOW | pandas/io/excel/_base.py | 530 | # make sure to close opened file handles | COMMENT |
| LOW | pandas/tests/series/methods/test_reindex.py | 97 | # (don't forget to fix this) I think it's fixed | COMMENT |
| LOW | pandas/tests/series/methods/test_reindex.py | 97 | # (don't forget to fix this) I think it's fixed | COMMENT |
| LOW⚡ | pandas/tests/io/parser/test_compression.py | 186 | # make sure to create un-compressed file with zip extension | COMMENT |
| LOW | pandas/tests/indexing/test_chaining_and_caching.py | 312 | # 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 | 22 | project_dir = pathlib.Path(__file__).parent.parent.parent.parent.parent.resolve() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pandas/tests/dtypes/test_inference.py | 1118 | # 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 | 1207 | # TODO: implement SeriesGroupBy.corrwith | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pandas/tests/io/formats/test_to_html.py | 22 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod " | CODE |
| LOW | pandas/tests/io/formats/test_to_html.py | 22 | "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 | 83 | def helper(expected_output, **encode_kwargs): | CODE |