Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
14038 matches across 17 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | web/tests/test_pandas_web.py | 83 | def test_web_preprocessor_creates_releases(mock_response, context) -> None: |
| LOW | asv_bench/benchmarks/arithmetic.py | 54 | def time_frame_op_with_scalar(self, dtype, scalar, op): |
| LOW | asv_bench/benchmarks/arithmetic.py | 68 | def time_frame_op_with_fill_value_no_nas(self): |
| LOW | asv_bench/benchmarks/arithmetic.py | 71 | def time_series_op_with_fill_value_no_nas(self): |
| LOW | asv_bench/benchmarks/arithmetic.py | 228 | def time_frame_float_div_by_zero(self): |
| LOW | asv_bench/benchmarks/arithmetic.py | 231 | def time_frame_float_floor_by_zero(self): |
| LOW | asv_bench/benchmarks/arithmetic.py | 234 | def time_frame_int_div_by_zero(self): |
| LOW | asv_bench/benchmarks/arithmetic.py | 270 | def time_series_timestamp_compare(self, tz): |
| LOW | asv_bench/benchmarks/arithmetic.py | 273 | def time_series_timestamp_different_reso_compare(self, tz): |
| LOW | asv_bench/benchmarks/arithmetic.py | 276 | def time_timestamp_series_compare(self, tz): |
| LOW | asv_bench/benchmarks/arithmetic.py | 282 | def time_timestamp_ops_diff_with_shift(self, tz): |
| LOW | asv_bench/benchmarks/arithmetic.py | 384 | def time_timedelta_plus_datetime(self, df): |
| LOW | asv_bench/benchmarks/arithmetic.py | 475 | def time_binary_op_multiindex(self, func): |
| LOW | asv_bench/benchmarks/frame_ctor.py | 53 | def time_nested_dict_index_columns(self): |
| LOW | asv_bench/benchmarks/frame_ctor.py | 60 | def time_dict_of_categoricals(self): |
| LOW | asv_bench/benchmarks/frame_ctor.py | 84 | def time_dict_with_timestamp_offsets(self, offset): |
| LOW | asv_bench/benchmarks/frame_ctor.py | 100 | def time_frame_from_records_generator(self, nrows): |
| LOW | asv_bench/benchmarks/frame_ctor.py | 176 | def time_frame_from_arrays_float(self): |
| LOW | asv_bench/benchmarks/frame_ctor.py | 184 | def time_frame_from_arrays_int(self): |
| LOW | asv_bench/benchmarks/frame_ctor.py | 192 | def time_frame_from_arrays_sparse(self): |
| LOW | asv_bench/benchmarks/gil.py | 196 | def time_datetime_field_daysinmonth(self): |
| LOW | asv_bench/benchmarks/gil.py | 203 | def time_datetime_field_normalize(self): |
| LOW | asv_bench/benchmarks/ctors.py | 100 | def time_index_from_array_string(self): |
| LOW | asv_bench/benchmarks/ctors.py | 103 | def time_index_from_array_floats(self): |
| LOW | asv_bench/benchmarks/ctors.py | 109 | def time_dtindex_from_index_with_series(self): |
| LOW | asv_bench/benchmarks/ctors.py | 118 | def time_multiindex_from_iterables(self): |
| LOW | asv_bench/benchmarks/ctors.py | 132 | def time_from_list_of_timestamps(self): |
| LOW | asv_bench/benchmarks/ctors.py | 138 | def time_from_list_of_datetimes(self): |
| LOW | asv_bench/benchmarks/join_merge.py | 154 | def time_join_dataframe_index_multi(self, sort): |
| LOW | asv_bench/benchmarks/join_merge.py | 157 | def time_join_dataframe_index_single_key_bigger(self, sort): |
| LOW | asv_bench/benchmarks/join_merge.py | 160 | def time_join_dataframe_index_single_key_small(self, sort): |
| LOW | asv_bench/benchmarks/join_merge.py | 163 | def time_join_dataframe_index_shuffle_key_bigger_sort(self, sort): |
| LOW | asv_bench/benchmarks/join_merge.py | 166 | def time_join_dataframes_cross(self, sort): |
| LOW | asv_bench/benchmarks/join_merge.py | 192 | def time_join_multiindex_subset(self): |
| LOW | asv_bench/benchmarks/join_merge.py | 202 | def time_inner_join_left_empty(self): |
| LOW | asv_bench/benchmarks/join_merge.py | 205 | def time_inner_join_right_empty(self): |
| LOW | asv_bench/benchmarks/join_merge.py | 263 | def time_merge_dataframe_integer_key(self, sort): |
| LOW | asv_bench/benchmarks/join_merge.py | 266 | def time_merge_dataframe_empty_right(self, sort): |
| LOW | asv_bench/benchmarks/join_merge.py | 269 | def time_merge_dataframe_empty_left(self, sort): |
| LOW | asv_bench/benchmarks/join_merge.py | 272 | def time_merge_dataframes_cross(self, sort): |
| LOW | asv_bench/benchmarks/join_merge.py | 618 | def time_left_join_sorted_baseline(self, n): |
| LOW | asv_bench/benchmarks/join_merge.py | 621 | def time_left_join_unsorted_left(self, n): |
| LOW | asv_bench/benchmarks/join_merge.py | 624 | def time_right_join_unsorted_right(self, n): |
| LOW | asv_bench/benchmarks/join_merge.py | 627 | def time_left_join_zero_match_unsorted_left(self, n): |
| LOW | asv_bench/benchmarks/join_merge.py | 180 | def time_left_outer_join_index(self): |
| LOW | asv_bench/benchmarks/join_merge.py | 222 | def time_join_non_unique_equal(self): |
| LOW | asv_bench/benchmarks/join_merge.py | 566 | def time_merge_sorted_multiindex(self, dtypes, how): |
| LOW | asv_bench/benchmarks/join_merge.py | 586 | def time_series_align_left_monotonic(self): |
| LOW | asv_bench/benchmarks/index_object.py | 60 | def time_datetime_difference_disjoint(self): |
| LOW | asv_bench/benchmarks/index_object.py | 69 | def time_union_with_duplicates(self): |
| LOW | asv_bench/benchmarks/index_object.py | 119 | def time_non_object_equals_multiindex(self): |
| LOW | asv_bench/benchmarks/index_object.py | 144 | def time_append_range_list_same(self): |
| LOW | asv_bench/benchmarks/index_object.py | 198 | def time_get_loc_non_unique_sorted(self, dtype): |
| LOW | asv_bench/benchmarks/index_object.py | 238 | def time_intersection_one_duplicate(self, N): |
| LOW | asv_bench/benchmarks/index_object.py | 241 | def time_intersection_both_duplicate(self, N): |
| LOW | asv_bench/benchmarks/plotting.py | 158 | def time_get_plot_backend_fallback(self): |
| LOW | asv_bench/benchmarks/reshape.py | 43 | def time_reshape_pivot_time_series(self): |
| LOW | asv_bench/benchmarks/reshape.py | 219 | def time_pivot_table_categorical(self): |
| LOW | asv_bench/benchmarks/reshape.py | 224 | def time_pivot_table_categorical_observed(self): |
| LOW | asv_bench/benchmarks/reshape.py | 234 | def time_pivot_table_margins_only_column(self): |
| 10696 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | asv_bench/benchmarks/index_object.py | 120 | self.idx_non_object.equals(self.mi_large_slow) |
| HIGH | asv_bench/benchmarks/frame_methods.py | 570 | self.float_df.equals(self.float_df) |
| HIGH | asv_bench/benchmarks/frame_methods.py | 573 | self.float_df.equals(self.float_df_nan) |
| HIGH | asv_bench/benchmarks/frame_methods.py | 576 | self.nonunique_cols.equals(self.nonunique_cols) |
| HIGH | asv_bench/benchmarks/frame_methods.py | 579 | self.nonunique_cols.equals(self.nonunique_cols_nan) |
| HIGH | asv_bench/benchmarks/frame_methods.py | 582 | self.object_df.equals(self.object_df) |
| HIGH | asv_bench/benchmarks/frame_methods.py | 585 | self.object_df.equals(self.object_df_nan) |
| HIGH | asv_bench/benchmarks/multiindex_object.py | 236 | self.mi.equals(self.mi_deepcopy) |
| HIGH | asv_bench/benchmarks/multiindex_object.py | 239 | self.mi.equals(self.idx_non_object) |
| HIGH | pandas/core/algorithms.py | 930 | and idx.equals(values) |
| HIGH | pandas/core/resample.py | 2189 | and obj.index.equals(res_index) |
| HIGH | pandas/core/generic.py | 1455 | return self._mgr.equals(other._mgr) |
| HIGH | pandas/core/generic.py | 9971 | if (axis is None or axis == 0) and not self.index.equals(other.index): |
| HIGH | pandas/core/generic.py | 9979 | and not self.columns.equals(other.columns) |
| HIGH | pandas/core/generic.py | 10021 | if self.index.equals(other.index): |
| HIGH | pandas/core/generic.py | 10043 | if not join_index.equals(other.index): |
| HIGH | pandas/core/generic.py | 12532 | If all elements in Series are NA/null, returns None. |
| HIGH | pandas/core/generic.py | 12566 | If all elements in DataFrame are NA/null, returns None. |
| HIGH | pandas/core/generic.py | 12619 | If all elements in Series are NA/null, returns None. |
| HIGH | pandas/core/generic.py | 12653 | If all elements in DataFrame are NA/null, returns None. |
| HIGH | pandas/core/generic.py | 1436 | >>> df.equals(different_data_type) |
| HIGH | pandas/core/generic.py | 1443 | >>> df_nan1.equals(df_nan2) |
| HIGH | pandas/core/generic.py | 1449 | >>> df_nan1.equals(df_nan3) |
| HIGH | pandas/core/generic.py | 1414 | >>> df.equals(exactly_equal) |
| HIGH | pandas/core/generic.py | 1425 | >>> df.equals(different_column_type) |
| HIGH | pandas/core/series.py | 454 | elif not data.index.equals(index) or copy: |
| HIGH | pandas/core/series.py | 3740 | if self.index.equals(other.index): |
| HIGH | pandas/core/series.py | 7165 | if not left.index.equals(right.index): |
| HIGH | pandas/core/series.py | 7203 | if not self.index.equals(other.index): |
| HIGH | pandas/core/frame.py | 4312 | if isinstance(key, Series) and not key.index.equals(self.index): |
| HIGH | pandas/core/frame.py | 4732 | if len(cols_droplevel) and not cols_droplevel.equals(value.columns): |
| HIGH | pandas/core/frame.py | 4735 | if not cols_droplevel.equals(cols): |
| HIGH | pandas/core/frame.py | 9156 | assert self.index.equals(right.index) |
| HIGH | pandas/core/frame.py | 9157 | assert self.columns.equals(right.columns) |
| HIGH | pandas/core/frame.py | 9170 | assert right.index.equals(self.columns) |
| HIGH | pandas/core/frame.py | 9182 | assert right.index.equals(self.index) |
| HIGH | pandas/core/frame.py | 9286 | and not self.columns.equals(right.columns) |
| HIGH | pandas/core/frame.py | 19162 | if value.index.equals(index) or not len(index): |
| HIGH | pandas/core/indexing.py | 3052 | if not len(new_ix) or ser.index.equals(new_ix): |
| HIGH | pandas/core/indexing.py | 3061 | if ser.index.equals(ax) or not len(ax): |
| HIGH | pandas/core/indexing.py | 3071 | if ser.index.equals(ax): |
| HIGH | pandas/core/indexing.py | 3079 | if ser.index.equals(ax): |
| HIGH | pandas/core/indexing.py | 2720 | elif not unique_cols and value.columns.equals(self.obj.columns): |
| HIGH | pandas/core/indexing.py | 3107 | if df.index.equals(idx) and df.columns.equals(cols): |
| HIGH | pandas/core/indexing.py | 3115 | if df.index.equals(ax): |
| HIGH | pandas/core/indexing.py | 3458 | if isinstance(key, ABCSeries) and not key.index.equals(index): |
| HIGH | pandas/core/apply.py | 366 | if not isinstance(result, (ABCSeries, ABCDataFrame)) or not result.index.equals( |
| HIGH | pandas/core/reshape/concat.py | 491 | if not no_sort_result_index.equals(orig): |
| HIGH | pandas/core/reshape/concat.py | 653 | if not new_labels.equals(obj_labels): |
| HIGH | pandas/core/reshape/concat.py | 920 | if isinstance(hlevel, Index) and hlevel.equals(level): |
| HIGH | pandas/core/reshape/reshape.py | 939 | if not result.columns.equals(desired_columns): |
| HIGH | pandas/core/reshape/reshape.py | 1136 | if not result.columns.equals(desired_columns): |
| HIGH | pandas/core/strings/accessor.py | 646 | if any(not data.index.equals(x.index) for x in others): |
| HIGH | pandas/core/interchange/dataframe_protocol.py | 267 | - Data types not included: complex, Arrow-style null, binary, decimal, |
| HIGH | pandas/core/interchange/column.py | 226 | null, value = _NULL_DESCRIPTION[kind] |
| HIGH | pandas/core/interchange/column.py | 230 | return null, value |
| HIGH | pandas/core/interchange/column.py | 390 | null, invalid = self.describe_null |
| HIGH | pandas/core/interchange/column.py | 434 | msg = f"{_NO_VALIDITY_BUFFER[null]} so does not have a separate mask" |
| HIGH | pandas/core/dtypes/missing.py | 570 | return left.equals(right) |
| HIGH | pandas/core/dtypes/missing.py | 713 | # a block is NOT null, chunks should help in such cases. |
| 448 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | AUTHORS.md | 38 | #----------------------------------------------------------------------------- |
| MEDIUM | AUTHORS.md | 45 | #----------------------------------------------------------------------------- |
| MEDIUM | doc/source/conf.py | 29 | # --------------------------------------------------------------------------- |
| MEDIUM | doc/source/conf.py | 37 | # --------------------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 624 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 626 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 972 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 974 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 1228 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 1230 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 98 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 100 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 272 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 274 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 296 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 298 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 505 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 507 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 543 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 545 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 856 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 858 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 1024 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 1026 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 1047 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 1049 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 1273 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 1275 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 1352 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 1354 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 2030 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/conftest.py | 2032 | # ---------------------------------------------------------------- |
| MEDIUM | pandas/core/algorithms.py | 1446 | # -------------------------------------------------------------------- |
| MEDIUM | pandas/core/arraylike.py | 37 | # ------------------------------------------------------------- |
| MEDIUM | pandas/core/arraylike.py | 67 | # ------------------------------------------------------------- |
| MEDIUM | pandas/core/arraylike.py | 97 | # ------------------------------------------------------------- |
| MEDIUM | pandas/core/arraylike.py | 256 | # ----------------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 1457 | # ------------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 241 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 301 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 474 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 486 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 948 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 1351 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 1589 | # ------------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 1876 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 2026 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 2068 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 2119 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 2152 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 6345 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 6935 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 8150 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 8332 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 11280 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 4037 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 4385 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 6164 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 6297 | # ---------------------------------------------------------------------- |
| MEDIUM | pandas/core/generic.py | 12402 | # ---------------------------------------------------------------------- |
| 526 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ci/import_pandas_check.py | 3 | |
| LOW | asv_bench/benchmarks/arithmetic.py | 479 | |
| LOW | asv_bench/benchmarks/arithmetic.py | 23 | |
| LOW | asv_bench/benchmarks/frame_ctor.py | 201 | |
| LOW | asv_bench/benchmarks/gil.py | 327 | |
| LOW | asv_bench/benchmarks/algorithms.py | 227 | |
| LOW | asv_bench/benchmarks/ctors.py | 145 | |
| LOW | asv_bench/benchmarks/join_merge.py | 631 | |
| LOW | asv_bench/benchmarks/index_object.py | 262 | |
| LOW | asv_bench/benchmarks/plotting.py | 164 | |
| LOW | asv_bench/benchmarks/reshape.py | 338 | |
| LOW | asv_bench/benchmarks/dtypes.py | 129 | |
| LOW | asv_bench/benchmarks/rolling.py | 382 | |
| LOW | asv_bench/benchmarks/frame_methods.py | 892 | |
| LOW | asv_bench/benchmarks/sparse.py | 227 | |
| LOW | asv_bench/benchmarks/attrs_caching.py | 50 | |
| LOW | asv_bench/benchmarks/inference.py | 302 | |
| LOW | asv_bench/benchmarks/categoricals.py | 337 | |
| LOW | asv_bench/benchmarks/stat_ops.py | 168 | |
| LOW | asv_bench/benchmarks/eval.py | 65 | |
| LOW | asv_bench/benchmarks/indexing.py | 619 | |
| LOW | asv_bench/benchmarks/pandas_vb_common.py | 19 | |
| LOW | asv_bench/benchmarks/pandas_vb_common.py | 21 | |
| LOW | asv_bench/benchmarks/multiindex_object.py | 434 | |
| LOW | asv_bench/benchmarks/reindex.py | 148 | |
| LOW | asv_bench/benchmarks/series_methods.py | 427 | |
| LOW | asv_bench/benchmarks/timeseries.py | 297 | |
| LOW | asv_bench/benchmarks/replace.py | 76 | |
| LOW | asv_bench/benchmarks/io/hdf.py | 143 | |
| LOW | asv_bench/benchmarks/io/excel.py | 108 | |
| LOW | asv_bench/benchmarks/io/csv.py | 645 | |
| LOW | asv_bench/benchmarks/io/pickle.py | 39 | |
| LOW | asv_bench/benchmarks/io/sql.py | 173 | |
| LOW | asv_bench/benchmarks/tslibs/fields.py | 82 | |
| LOW | scripts/validate_exception_location.py | 22 | |
| LOW | scripts/check_test_naming.py | 12 | |
| LOW | scripts/validate_rst_title_capitalization.py | 15 | |
| LOW | scripts/pandas_errors_documented.py | 10 | |
| LOW | scripts/sort_whatsnew_note.py | 27 | |
| LOW | scripts/validate_min_versions_in_sync.py | 16 | |
| LOW | pandas/conftest.py | 21 | |
| LOW | pandas/_typing.py | 1 | |
| LOW | pandas/_typing.py | 3 | |
| LOW | pandas/_typing.py | 43 | |
| LOW | pandas/_typing.py | 43 | |
| LOW | pandas/_typing.py | 43 | |
| LOW | pandas/_typing.py | 43 | |
| LOW | pandas/_typing.py | 49 | |
| LOW | pandas/_typing.py | 51 | |
| LOW | pandas/_typing.py | 53 | |
| LOW | pandas/_typing.py | 53 | |
| LOW | pandas/_typing.py | 53 | |
| LOW | pandas/_typing.py | 53 | |
| LOW | pandas/_typing.py | 59 | |
| LOW | pandas/_typing.py | 59 | |
| LOW | pandas/_typing.py | 63 | |
| LOW | pandas/_typing.py | 64 | |
| LOW | pandas/_typing.py | 65 | |
| LOW | pandas/_typing.py | 66 | |
| LOW | pandas/_typing.py | 66 | |
| 1105 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | pandas/core/resample.py | 0 | sub-classes to define. return a sliced object. parameters ---------- key : string / list of selections ndim : {1, 2} req |
| HIGH | pandas/core/resample.py | 0 | sub-classes to define. return a sliced object. parameters ---------- key : string / list of selections ndim : {1, 2} req |
| HIGH | pandas/core/frame.py | 0 | sub-classes to define. return a sliced object. parameters ---------- key : string / list of selections ndim : {1, 2} req |
| HIGH | pandas/core/generic.py | 0 | detect existing (non-missing) values. return a boolean same-sized object indicating if the values are not na. non-missin |
| HIGH | pandas/core/generic.py | 0 | detect existing (non-missing) values. return a boolean same-sized object indicating if the values are not na. non-missin |
| HIGH | pandas/core/frame.py | 0 | detect existing (non-missing) values. return a boolean same-sized object indicating if the values are not na. non-missin |
| HIGH | pandas/core/indexers/objects.py | 0 | computes the bounds of a window. parameters ---------- num_values : int, default 0 number of values that will be aggrega |
| HIGH | pandas/core/indexers/objects.py | 0 | computes the bounds of a window. parameters ---------- num_values : int, default 0 number of values that will be aggrega |
| HIGH | pandas/core/indexers/objects.py | 0 | computes the bounds of a window. parameters ---------- num_values : int, default 0 number of values that will be aggrega |
| HIGH | pandas/core/indexers/objects.py | 0 | computes the bounds of a window. parameters ---------- num_values : int, default 0 number of values that will be aggrega |
| HIGH | pandas/core/indexers/objects.py | 0 | computes the bounds of a window. parameters ---------- num_values : int, default 0 number of values that will be aggrega |
| HIGH | pandas/core/indexers/objects.py | 0 | computes the bounds of a window. parameters ---------- num_values : int, default 0 number of values that will be aggrega |
| HIGH | pandas/core/indexers/objects.py | 0 | computes the bounds of a window. parameters ---------- num_values : int, default 0 number of values that will be aggrega |
| HIGH | pandas/core/indexers/objects.py | 0 | computes the bounds of a window. parameters ---------- num_values : int, default 0 number of values that will be aggrega |
| HIGH | pandas/core/dtypes/dtypes.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/dtypes/dtypes.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/dtypes/dtypes.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/dtypes/dtypes.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/dtypes/dtypes.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/dtypes/dtypes.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/dtypes/dtypes.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/dtypes/dtypes.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/dtypes/base.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/arrays/floating.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/arrays/string_.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/arrays/boolean.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/arrays/integer.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/tests/extension/decimal/array.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/tests/extension/array_with_attr/array.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/tests/extension/json/array.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/tests/extension/list/array.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/tests/arrays/test_array.py | 0 | return the array type associated with this dtype. returns ------- type |
| HIGH | pandas/core/window/ewm.py | 0 | return an indexer class that will compute the window start and end bounds |
| HIGH | pandas/core/window/rolling.py | 0 | return an indexer class that will compute the window start and end bounds |
| HIGH | pandas/core/window/expanding.py | 0 | return an indexer class that will compute the window start and end bounds |
| HIGH | pandas/core/window/ewm.py | 0 | return an indexer class that will compute the window start and end bounds returns ------- groupbyindexer |
| HIGH | pandas/core/window/rolling.py | 0 | return an indexer class that will compute the window start and end bounds returns ------- groupbyindexer |
| HIGH | pandas/core/window/expanding.py | 0 | return an indexer class that will compute the window start and end bounds returns ------- groupbyindexer |
| 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 |
| 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 |
| 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 |
| HIGH | pandas/core/indexes/interval.py | 0 | fastpath for __getitem__ when we know we have a slice. |
| HIGH | pandas/core/indexes/range.py | 0 | fastpath for __getitem__ when we know we have a slice. |
| HIGH | pandas/core/indexes/multi.py | 0 | fastpath for __getitem__ when we know we have a slice. |
| HIGH | pandas/core/indexes/base.py | 0 | fastpath for __getitem__ when we know we have a slice. |
| HIGH | pandas/core/indexes/timedeltas.py | 0 | can we compare values of the given dtype to our own? |
| HIGH | pandas/core/indexes/datetimes.py | 0 | can we compare values of the given dtype to our own? |
| HIGH | pandas/core/indexes/period.py | 0 | can we compare values of the given dtype to our own? |
| HIGH | pandas/core/indexes/base.py | 0 | can we compare values of the given dtype to our own? |
| HIGH | pandas/core/indexes/period.py | 0 | shift index by desired number of time frequency increments. this method is for shifting the values of datetime-like inde |
| HIGH | pandas/core/indexes/datetimelike.py | 0 | shift index by desired number of time frequency increments. this method is for shifting the values of datetime-like inde |
| HIGH | pandas/core/indexes/datetimelike.py | 0 | shift index by desired number of time frequency increments. this method is for shifting the values of datetime-like inde |
| HIGH | pandas/core/indexes/datetimelike.py | 0 | return a boolean indicating whether the provided key is in the index. parameters ---------- key : label the key to check |
| HIGH | pandas/core/indexes/base.py | 0 | return a boolean indicating whether the provided key is in the index. parameters ---------- key : label the key to check |
| HIGH | pandas/core/indexes/category.py | 0 | return a boolean indicating whether the provided key is in the index. parameters ---------- key : label the key to check |
| HIGH | pandas/io/formats/info.py | 0 | add lines to the info table, pertaining to non-empty dataframe. |
| HIGH | pandas/io/formats/info.py | 0 | add lines to the info table, pertaining to non-empty dataframe. |
| HIGH | pandas/io/formats/info.py | 0 | add lines to the info table, pertaining to non-empty dataframe. |
| HIGH | pandas/io/formats/info.py | 0 | iterator with string representation of body data with counts. |
| HIGH | pandas/io/formats/info.py | 0 | iterator with string representation of body data with counts. |
| 76 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | web/pandas_web.py | 273 | |
| LOW | asv_bench/benchmarks/algorithms.py | 15 | |
| LOW | asv_bench/benchmarks/algorithms.py | 98 | |
| LOW | asv_bench/benchmarks/join_merge.py | 88 | |
| LOW | asv_bench/benchmarks/index_cached_properties.py | 24 | |
| LOW | asv_bench/benchmarks/attrs_caching.py | 28 | |
| LOW | asv_bench/benchmarks/array.py | 119 | |
| LOW | asv_bench/benchmarks/groupby.py | 490 | |
| LOW | asv_bench/benchmarks/series_methods.py | 90 | |
| LOW | asv_bench/benchmarks/series_methods.py | 354 | |
| LOW | asv_bench/benchmarks/algos/isin.py | 29 | |
| LOW | asv_bench/benchmarks/algos/isin.py | 241 | |
| LOW | scripts/validate_unwanted_patterns.py | 90 | |
| LOW | scripts/validate_unwanted_patterns.py | 169 | |
| LOW | scripts/validate_unwanted_patterns.py | 284 | |
| LOW | scripts/validate_unwanted_patterns.py | 336 | |
| LOW | scripts/validate_unwanted_patterns.py | 196 | |
| LOW | scripts/check_test_naming.py | 79 | |
| LOW | scripts/pandas_errors_documented.py | 24 | |
| LOW | scripts/validate_min_versions_in_sync.py | 87 | |
| LOW | scripts/validate_min_versions_in_sync.py | 129 | |
| LOW | scripts/validate_min_versions_in_sync.py | 193 | |
| LOW | doc/make.py | 72 | |
| LOW | pandas/compat/_optional.py | 107 | |
| LOW | pandas/core/nanops.py | 259 | |
| LOW | pandas/core/nanops.py | 348 | |
| LOW | pandas/core/nanops.py | 736 | |
| LOW | pandas/core/nanops.py | 1447 | |
| LOW | pandas/core/nanops.py | 1562 | |
| LOW | pandas/core/nanops.py | 1622 | |
| LOW | pandas/core/missing.py | 83 | |
| LOW | pandas/core/algorithms.py | 112 | |
| LOW | pandas/core/algorithms.py | 506 | |
| LOW | pandas/core/algorithms.py | 856 | |
| LOW | pandas/core/algorithms.py | 1335 | |
| LOW | pandas/core/algorithms.py | 1652 | |
| LOW | pandas/core/resample.py | 3058 | |
| LOW | pandas/core/construction.py | 77 | |
| LOW | pandas/core/construction.py | 555 | |
| LOW | pandas/core/construction.py | 736 | |
| LOW | pandas/core/construction.py | 812 | |
| LOW | pandas/core/generic.py | 2084 | |
| LOW | pandas/core/generic.py | 3404 | |
| LOW | pandas/core/generic.py | 3692 | |
| LOW | pandas/core/generic.py | 4696 | |
| LOW | pandas/core/generic.py | 5241 | |
| LOW | pandas/core/generic.py | 6168 | |
| LOW | pandas/core/generic.py | 6245 | |
| LOW | pandas/core/generic.py | 6400 | |
| LOW | pandas/core/generic.py | 6977 | |
| LOW | pandas/core/generic.py | 7436 | |
| LOW | pandas/core/generic.py | 9774 | |
| LOW | pandas/core/generic.py | 10065 | |
| LOW | pandas/core/series.py | 352 | |
| LOW | pandas/core/series.py | 1382 | |
| LOW | pandas/core/series.py | 6397 | |
| LOW | pandas/core/series.py | 6488 | |
| LOW | pandas/core/series.py | 7156 | |
| LOW | pandas/core/series.py | 7275 | |
| LOW | pandas/core/sorting.py | 309 | |
| 586 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | scripts/generate_pip_deps_from_conda.py | 106 | f"# This file is auto-generated from {conda_path.name}, do not modify.\n" |
| MEDIUM | doc/source/conf.py | 4 | # This file is execfile()d with the current directory set to its containing |
| MEDIUM | pandas/core/apply.py | 1331 | # Create the series |
| MEDIUM | pandas/core/apply.py | 1470 | # Create the series |
| MEDIUM | pandas/core/interchange/from_dataframe.py | 382 | # Create the string |
| MEDIUM | pandas/core/interchange/column.py | 370 | # Define the dtype for the returned buffer |
| MEDIUM | pandas/core/interchange/column.py | 428 | # Define the dtype of the returned buffer |
| MEDIUM | pandas/core/dtypes/concat.py | 104 | # Creating an empty array directly is tempting, but the winnings would be |
| MEDIUM | pandas/core/computation/parsing.py | 51 | # Create a dict with the special characters and their replacement string. |
| MEDIUM | pandas/core/_numba/extensions.py | 300 | # Create an empty typed dict in numba for the hashmap for indexing |
| MEDIUM | pandas/core/arrays/datetimes.py | 507 | # Create a linearly spaced date_range in local time |
| MEDIUM | pandas/util/version/__init__.py | 5 | # This file is dual licensed under the terms of the Apache License, Version |
| MEDIUM | pandas/io/parsers/readers.py | 306 | # Create the parser. |
| MEDIUM | pandas/io/excel/_base.py | 1157 | # Defining an ExcelWriter implementation (see abstract methods for more...) |
| MEDIUM | pandas/io/excel/_xlsxwriter.py | 105 | # Create an XlsxWriter format object. |
| MEDIUM | pandas/io/clipboard/__init__.py | 459 | # This function is heavily based on |
| MEDIUM | pandas/tests/test_optional_dependency.py | 69 | # Create a fake module with a submodule |
| MEDIUM | pandas/tests/series/test_formats.py | 286 | # Define a stub extension type with just enough code to run Series.__repr__() |
| MEDIUM | pandas/tests/series/accessors/test_cat_accessor.py | 128 | # This method is likely to be confused, so test that it raises an error |
| MEDIUM | pandas/tests/apply/test_invalid_arg.py | 2 | # This file is organized by reason for exception. |
| MEDIUM | pandas/tests/apply/test_frame_apply_relabeling.py | 102 | # This method is used by other libraries (e.g. dask) |
| MEDIUM | pandas/tests/resample/test_period_index.py | 339 | # Create the expected series |
| MEDIUM | pandas/tests/io/test_compression.py | 66 | # Create a new temporary file for uncompressed comparison |
| MEDIUM | …as/tests/tseries/offsets/test_custom_business_month.py | 181 | # Define a TradingDay offset |
| MEDIUM | …as/tests/tseries/offsets/test_custom_business_month.py | 358 | # Define a TradingDay offset |
| MEDIUM | …ndas/tests/tseries/offsets/test_custom_business_day.py | 43 | # Define a TradingDay offset |
| MEDIUM | pandas/tests/libs/test_lib.py | 314 | # Define a custom ndarray subclass |
| MEDIUM | pandas/tests/plotting/frame/test_frame_color.py | 711 | # Creating a DataFrame with duplicate column labels and testing colors of them. |
| MEDIUM | pandas/tests/arithmetic/test_datetime64.py | 772 | # This class is intended for "finished" tests that are fully parametrized |
| MEDIUM | pandas/tests/arithmetic/test_array_ops.py | 50 | # Define a custom ndarray subclass |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/check_test_naming.py | 101 | _is_register_dtype(decorator) for decorator in node.decorator_list |
| LOW | scripts/tests/data/deps_minimum.toml | 181 | # module level import not at top of file |
| LOW | .github/workflows/wheels.yml | 1 | # Workflow to build wheels for upload to PyPI. |
| LOW | .github/workflows/unit-tests.yml | 381 | # - This version should be available on GitHub Actions. |
| LOW | doc/source/conf.py | 1 | # |
| LOW | doc/source/conf.py | 101 | |
| LOW | doc/source/conf.py | 481 | |
| LOW | doc/source/conf.py | 501 | # If true, the current module name will be prepended to all description |
| LOW | doc/source/conf.py | 601 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
| LOW | doc/source/conf.py | 701 | # If true, the index is split into individual pages for each letter. |
| LOW | doc/source/conf.py | 741 | ) |
| LOW | doc/source/conf.py | 821 | """ |
| LOW | pandas/core/nanops.py | 161 | if dtype != object and not needs_i8_conversion(dtype): |
| LOW | pandas/core/algorithms.py | 1681 | # we can fastpath dict/Series to an efficient map |
| LOW | pandas/core/arraylike.py | 381 | # e.g. test.series.test_ufunc.test_reduce |
| LOW | pandas/core/frame.py | 2361 | # When the names and arrays are collected, we |
| LOW | pandas/core/indexing.py | 2781 | elif is_full_setter: |
| LOW | pandas/core/apply.py | 2041 | # sum 18.0 6.0 |
| LOW | pandas/core/strings/__init__.py | 21 | # - StringArray |
| LOW | pandas/core/interchange/dataframe_protocol.py | 101 | # first element is a buffer containing mask values indicating missing data; |
| LOW | pandas/core/groupby/grouper.py | 501 | # a passed Grouper like, directly get the grouper in the same way |
| LOW | pandas/core/groupby/grouper.py | 781 | # TODO: These if-block and else-block are almost same. |
| LOW | pandas/core/internals/ops.py | 81 | # if right_ea or left_ea: |
| LOW | pandas/core/internals/blocks.py | 2161 | # ExtensionArray-safe unstack. |
| LOW | pandas/core/arrays/datetimelike.py | 401 | # I'm fudging the types a bit here. "Any" above really depends |
| LOW | pandas/core/arrays/base.py | 541 | |
| LOW | pandas/core/indexes/multi.py | 4181 | # InvalidIndexError e.g. non-hashable, fall back to treating |
| LOW | pandas/util/version/__init__.py | 401 | dev: tuple[str, int] | None, |
| LOW | pandas/io/stata.py | 801 | # type code. |
| LOW | pandas/io/parsers/readers.py | 2361 | # |
| LOW | pandas/io/formats/console.py | 21 | # Consider |
| LOW | pandas/io/formats/html.py | 341 | # see gh-22579 |
| LOW | pandas/io/formats/printing.py | 81 | """ |
| LOW | pandas/io/formats/printing.py | 101 | # use pprint_thing(). |
| LOW | pandas/io/excel/_base.py | 1161 | # --> called to write additional DataFrames to disk |
| LOW | pandas/io/sas/sas_xport.py | 201 | shift[np.where(xport1 & 0x00800000)] = 3 |
| LOW | pandas/tests/tools/test_to_datetime.py | 3121 | ("20201012", True, False, datetime(2020, 12, 10)), |
| LOW | pandas/tests/tools/test_to_datetime.py | 3141 | |
| LOW | pandas/tests/extension/base/ops.py | 41 | # In _check_op we check that the result of a pointwise operation |
| LOW | pandas/tests/io/test_parquet.py | 1201 | pq.write_table(table, temp_file) |
| LOW | pandas/tests/io/excel/test_readers.py | 821 | def test_reading_all_sheets(self, read_ext): |
| LOW | pandas/tests/io/parser/test_c_parser_only.py | 341 | # to stress the system memory allocator, to cause it to move the |
| LOW | pandas/tests/io/parser/common/test_float.py | 121 | # When a 17-digit mantissa's 16-digit prefix crosses 2^53 |
| LOW | pandas/tests/io/xml/test_xml.py | 41 | # [X] - ImportError: "lxml not found, please install or use the etree parser." |
| LOW | pandas/tests/io/xml/test_xml.py | 61 | |
| LOW | pandas/tests/io/xml/test_to_xml.py | 21 | from pandas.io.common import get_handle |
| LOW | pandas/tests/io/xml/test_to_xml.py | 41 | # [X] - TypeError: "...is not a valid type for attr_cols" |
| LOW | pandas/tests/io/pytables/test_compat.py | 101 | |
| LOW | pandas/tests/io/pytables/test_compat.py | 121 | # if legacy_file.endswith("table.h5"): |
| LOW | pandas/tests/frame/test_reductions.py | 1961 | # may raise on one path (e.g. axis=1 with datetime64 + any) |
| LOW | pandas/tests/frame/methods/test_reindex.py | 201 | # MultiIndex object correctly when using no filling, backfilling, and |
| LOW | pandas/tests/frame/methods/test_reindex.py | 221 | # 1 0 A |
| LOW | pandas/tests/plotting/frame/test_frame.py | 981 | def test_plot_scatter_with_c_array(self): |
| LOW | pandas/tests/arrays/sparse/test_libsparse.py | 101 | def test_index_make_union(self, xloc, xlen, yloc, ylen, eloc, elen, test_length): |
| LOW | pandas/tests/arrays/sparse/test_libsparse.py | 121 | # Case 6 |
| LOW | pandas/tests/indexes/multi/test_indexing.py | 301 | result = idx.get_indexer(labels) |
| LOW | pandas/tests/indexes/multi/test_indexing.py | 361 | err = NotImplementedError |
| LOW | pandas/tests/indexes/multi/test_indexing.py | 381 | # 7: 7 |
| LOW | pandas/tests/indexes/multi/test_indexing.py | 461 | |
| LOW | pandas/tests/indexes/multi/test_indexing.py | 481 | # 6: 2 1 |
| 21 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pandas/core/missing.py | 518 | # both directions... just use _interp_limit |
| LOW | pandas/core/missing.py | 1102 | # just use forwards |
| MEDIUM | pandas/core/generic.py | 1594 | # operations should utilize/extend these methods when possible so that we |
| MEDIUM | pandas/core/generic.py | 6537 | # robust in case we |
| LOW | pandas/core/generic.py | 4300 | # so just return them (GH 6394) |
| LOW | pandas/core/frame.py | 4604 | # NB: we can't just use self.loc[key] = value because that |
| LOW | pandas/core/apply.py | 1118 | # so just return a copy of the existing object |
| LOW | pandas/core/reshape/merge.py | 1340 | # make sure to just use the right values or vice-versa |
| LOW | pandas/core/reshape/reshape.py | 434 | # Otherwise, we just use each level item exactly once: |
| LOW | pandas/core/strings/accessor.py | 4806 | # ideally we just pass `dtype=arr.dtype` unconditionally, but this fails |
| LOW | pandas/core/groupby/grouper.py | 830 | # already have a BaseGrouper, just return it |
| MEDIUM | pandas/core/window/online.py | 70 | # used in conjunction with vals[i+1] |
| MEDIUM | pandas/core/window/numba_.py | 144 | # is to be used in conjunction with vals[i+1] |
| MEDIUM | pandas/core/window/numba_.py | 320 | # is to be used in conjunction with vals[i+1] |
| LOW | pandas/core/arrays/_ranges.py | 82 | # cannot just use e = Timestamp(end) + 1 because arange breaks when |
| LOW | pandas/core/arrays/masked.py | 762 | # special case, here we can simply return the underlying data |
| LOW | pandas/core/arrays/base.py | 2003 | # just pass that here instead of coercing to object. |
| LOW | pandas/core/indexes/base.py | 5370 | # TODO(ExtensionIndex): remove special-case, just use self._values |
| LOW | pandas/io/stata.py | 2989 | # ds_format - just use 114 |
| LOW | pandas/io/parsers/arrow_parser_wrapper.py | 83 | # just set to pyarrow default of None |
| LOW | pandas/io/json/_normalize.py | 43 | # Determine we have a JSON list to turn to lines otherwise just return the |
| LOW | pandas/tests/reshape/merge/test_merge_asof.py | 1909 | # just use a single ticker |
| LOW | pandas/tests/extension/base/dtype.py | 112 | # (we shortcut to just use that dtype as the common dtype), but |
| MEDIUM | pandas/tests/extension/base/interface.py | 176 | # the _cast_pointwise_result method should be robust to any input, |
| LOW | pandas/tests/io/test_stata.py | 194 | # TODO(GH#55564): just pass M8[s] to the constructor |
| LOW | pandas/tests/frame/test_query_eval.py | 281 | # list equality (really just set membership) |
| LOW | pandas/tests/frame/test_query_eval.py | 328 | # list equality (really just set membership) |
| LOW | pandas/tests/frame/test_query_eval.py | 369 | # list equality (really just set membership) |
| MEDIUM | pandas/tests/dtypes/test_inference.py | 813 | # make sure that this function is robust against it |
| MEDIUM | pandas/tests/dtypes/cast/test_promote.py | 58 | # Compare types in a way that is robust to platform-specific |
| LOW | pandas/tests/groupby/test_categorical.py | 2163 | # Only testing the ids/result_index, okay to just use one kernel |
| MEDIUM | pandas/tests/arrays/test_datetimes.py | 294 | # sufficiently robust |
| LOW | pandas/tests/tslibs/test_parsing.py | 77 | # Raise on invalid input, don't just return it |
| LOW | pandas/plotting/_matplotlib/tools.py | 314 | # one subplot, just return it instead of a 1-element array. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | doc/make.py | 209 | except Exception: |
| LOW | pandas/core/series.py | 6607 | except Exception as error: |
| LOW | pandas/core/frame.py | 14411 | except Exception: |
| LOW | pandas/core/apply.py | 355 | except Exception as err: |
| LOW | pandas/core/apply.py | 410 | except Exception: |
| LOW | pandas/core/apply.py | 1139 | except Exception: |
| LOW | pandas/core/groupby/generic.py | 2698 | except Exception: |
| LOW | pandas/core/groupby/groupby.py | 1491 | except Exception as err: |
| LOW | pandas/core/arrays/_arrow_string_mixins.py | 74 | except Exception as err: |
| LOW | pandas/core/arrays/base.py | 436 | except Exception: |
| LOW | pandas/util/_print_versions.py | 81 | except Exception: |
| LOW | pandas/util/_exceptions.py | 25 | except Exception as err: |
| LOW | pandas/io/pytables.py | 1364 | except Exception as err: |
| LOW | pandas/io/pytables.py | 1929 | except Exception as detail: |
| LOW | pandas/io/_util.py | 268 | except Exception: |
| LOW | pandas/io/_util.py | 278 | except Exception: |
| LOW | pandas/io/sql.py | 716 | except Exception: |
| LOW | pandas/io/sql.py | 2138 | except Exception: |
| LOW | pandas/io/sql.py | 2690 | except Exception: |
| LOW | pandas/io/stata.py | 2934 | except Exception as exc: |
| LOW | pandas/io/parsers/readers.py | 2014 | except Exception: |
| LOW | pandas/io/parsers/readers.py | 2057 | except Exception: |
| LOW | pandas/io/parsers/readers.py | 2071 | except Exception: |
| MEDIUM | pandas/io/parsers/readers.py | 1962 | def __next__(self) -> DataFrame: |
| LOW | pandas/io/excel/_base.py | 566 | except Exception: |
| LOW | pandas/io/excel/_base.py | 961 | except Exception as err: |
| LOW | pandas/io/json/_json.py | 1131 | except Exception as ex: |
| LOW | pandas/io/json/_json.py | 1378 | except Exception: |
| LOW | pandas/io/sas/sas7bdat.py | 241 | except Exception: |
| LOW | pandas/io/sas/sas_xport.py | 263 | except Exception: |
| LOW | pandas/tests/extension/base/methods.py | 557 | except Exception: |
| LOW | pandas/tests/extension/base/ops.py | 225 | except Exception as err: |
| LOW | pandas/tests/extension/base/ops.py | 279 | except Exception as err: |
| LOW | pandas/tests/extension/base/dim2.py | 211 | except Exception as err: |
| LOW | pandas/tests/extension/base/dim2.py | 216 | except Exception as err2: |
| LOW | pandas/tests/extension/base/dim2.py | 245 | except Exception as err: |
| LOW | pandas/tests/extension/base/dim2.py | 248 | except Exception as err2: |
| LOW | pandas/tests/extension/base/dim2.py | 296 | except Exception as err: |
| LOW | pandas/tests/extension/base/dim2.py | 299 | except Exception as err2: |
| MEDIUM | pandas/tests/io/test_html.py | 1539 | def run(self): |
| LOW | pandas/tests/io/test_html.py | 1542 | except Exception as err: |
| LOW | pandas/tests/io/test_html.py | 1474 | except Exception: |
| LOW | pandas/tests/frame/test_block_internals.py | 442 | except Exception: |
| MEDIUM | pandas/tests/frame/test_block_internals.py | 439 | def safe_is_const(s): |
| LOW | pandas/tests/api/test_api.py | 576 | except Exception: |
| LOW | pandas/tests/tslibs/test_conversion.py | 42 | except Exception as err: |
| LOW | pandas/tests/tslibs/test_conversion.py | 47 | except Exception as err: |
| LOW | pandas/plotting/_matplotlib/converter.py | 339 | except Exception: |
| LOW | pandas/plotting/_matplotlib/converter.py | 363 | except Exception: |
| LOW | pandas/plotting/_matplotlib/converter.py | 477 | except Exception: # pragma: no cover |
| MEDIUM | pandas/plotting/_matplotlib/converter.py | 336 | def try_parse(values): |
| LOW | pandas/plotting/_matplotlib/core.py | 1738 | except Exception: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pandas/core/generic.py | 2054 | # Check if both conversions can be done without a copy |
| LOW | pandas/core/generic.py | 4746 | # Set level to zero in case of MultiIndex and label is string, |
| LOW | pandas/core/generic.py | 4752 | # Check if label doesn't exist along axis |
| LOW | pandas/core/reshape/merge.py | 1785 | # Check if we are trying to merge on obviously |
| LOW | pandas/core/internals/managers.py | 1303 | # Check if we can use _iset_single fastpath |
| LOW | pandas/core/computation/expr.py | 676 | # Check if this is a supported function name |
| LOW | pandas/core/arrays/datetimes.py | 3208 | # Check if the offset preserves start's time-of-day |
| LOW | pandas/core/arrays/base.py | 565 | # Check if the array is readonly |
| LOW | pandas/core/indexes/multi.py | 501 | # Check if elements of array are list-like |
| LOW | pandas/core/indexes/multi.py | 506 | # Check if lengths of all arrays are equal or not, |
| LOW | pandas/core/indexes/multi.py | 3853 | # Check if this tuple is a single key in our first level |
| LOW | pandas/io/formats/format.py | 1823 | # Check if all decimal numbers end in "0" |
| LOW | pandas/io/excel/_base.py | 910 | # Check if we have an empty dataset |
| LOW | pandas/tests/reshape/merge/test_merge.py | 1091 | # Check if working name in df |
| LOW | pandas/tests/apply/test_frame_apply.py | 754 | # Check if categorical comparisons on apply, GH 21239 |
| LOW | pandas/tests/apply/test_frame_apply.py | 1283 | # Check if name is still preserved when aggregating series instead |
| LOW | pandas/tests/extension/base/methods.py | 487 | # Check if the operation is supported pointwise for our scalars. If not, |
| LOW | pandas/tests/io/test_clipboard.py | 106 | # Set raising to False because WinError won't exist on non-windows platforms |
| LOW | pandas/tests/io/excel/test_readers.py | 214 | # Check if values match |
| LOW | pandas/tests/io/excel/test_readers.py | 218 | # Check if types match |
| LOW | pandas/tests/io/excel/test_writers.py | 1262 | # Read file without comment arg. |
| LOW | pandas/tests/io/excel/test_writers.py | 1282 | # Read file with default and explicit comment=None |
| LOW | pandas/tests/io/sas/test_sas7bdat.py | 228 | # Check if the SAS file has zero variables (PR #18184) |
| LOW | pandas/tests/io/pytables/test_file_handling.py | 213 | # Check if not setting complib or complevel results in no compression |
| LOW | pandas/tests/io/pytables/test_file_handling.py | 226 | # Check if file-defaults can be overridden on a per table basis |
| LOW | pandas/tests/io/pytables/test_file_handling.py | 276 | # Open file and check metadata for correct amount of compression |
| LOW | pandas/tests/indexing/multiindex/test_loc.py | 854 | # Check if get_loc matches for Index and MultiIndex |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .github/workflows/wheels.yml | 9 | # Alternatively, you can add labels to the pull request in order to trigger wheel |
| LOW | .github/workflows/unit-tests.yml | 384 | # To unfreeze, comment out the ``if: false`` condition, and make sure you update |
| MEDIUM | .github/workflows/unit-tests.yml | 394 | # Feel free to modify this comment as necessary. |
| LOW | pandas/core/reshape/merge.py | 1340 | # make sure to just use the right values or vice-versa |
| LOW | pandas/io/pytables.py | 4589 | # make sure to include levels if we have them |
| LOW | pandas/io/formats/excel.py | 1021 | # make sure to close opened file handles |
| LOW | pandas/io/excel/_base.py | 530 | # make sure to close opened file handles |
| LOW | pandas/tests/series/methods/test_reindex.py | 97 | # (don't forget to fix this) I think it's fixed |
| LOW | pandas/tests/series/methods/test_reindex.py | 97 | # (don't forget to fix this) I think it's fixed |
| LOW | pandas/tests/io/parser/test_compression.py | 186 | # make sure to create un-compressed file with zip extension |
| LOW | pandas/tests/indexing/test_chaining_and_caching.py | 312 | # GH 4939, make sure to update the cache on setitem |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | pandas/tests/io/formats/style/test_html.py | 22 | project_dir = pathlib.Path(__file__).parent.parent.parent.parent.parent.resolve() |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | pandas/tests/dtypes/test_inference.py | 1118 | # make sure the inferred dtype of the fixture is as requested |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pandas/tests/io/formats/test_to_html.py | 22 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod " |
| LOW | pandas/tests/io/formats/test_to_html.py | 22 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod " |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pandas/core/groupby/grouper.py | 786 | # we need to check if it makes no side effect to subsequent processes |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pandas/tests/io/json/test_ujson.py | 83 | def helper(expected_output, **encode_kwargs): |