Summary: 648 instances, 620 unique Text Count # TODO raise deprecation warning 1 # TODO: Instead of looping through all policies, we should just get the policy attached to resource 1 ## FIXME: this should take parsed documents too, and use their body 1 # FIXME: integrate property 1 # TODO: Issue a warning if parser is present but not a 1 /* TODO: structured/unstructured error contexts. */ 1 # TODO: Optimize case when `where` is broadcast along a non-reduction 1 # TODO: could return NaT? 1 # TODO: handle cell width and height: needs support in pandas.io.excel 1 # TODO: formalize having _libs.properties "above" tslibs in the dependency structure 1 # TODO: de-dup with maybe_cast_to_integer_array? 1 # TODO Some functions below are not actually "nogil" 1 # TODO: may need itemsize check if we have non-64-bit Indexes 1 # TODO: sort=False here for backwards compat. It may 1 # TODO: round/floor/ceil could return NaT? 2 # TODO: disallow unit-less timedelta64 1 # TODO: still needed? 1 # TODO: mixed type case 1 # TODO copy? 1 # TODO: return type, _pytest.mark.structures.MarkDecorator is not public 3 # TODO: re-reuse simple_new if/when it can be cpdef 1 # TODO we should figure out the expected return value in general 1 # TODO: copy argument is ignored 1 # TODO: de-dup with maybe_cast_to_integer_array? 1 # TODO: overload return type of ExtensionArray.__getitem__ 1 xmlXPathCompExprPtr comp; /* TODO: Change this to compExpr. */ 1 # TODO support passing field names, and get types from schema 1 # TODO what if `other` is BlockManager ? 1 # TODO: Is this going to admit a lot of false-positives for when we 1 # TODO: in this case we should be able to use get_utcoffset, 1 # TODO: `item`/`tolist` returns either `dt.date`, `dt.datetime` or `int` 1 # TODO: shouldn't min_count matter? 2 # TODO: The following JVM types are not implemented: 1 # TODO Cython 3.0: cast won't be necessary (#2992) 1 # TODO: if either is a RangeIndex, we can likely factorize more efficiently? 1 # TODO: Remove `__getattr__` once the classes are stubbed out 1 # FIXME: I could do this with XPath, but would that just be 1 * TODO: This is somehow not nice, since it has a "free" field, which 1 # TODO: may need to coerce array to fill value 1 # FIXME: optimization potential 1 # TODO: no tests rely on the _with_freq("infer"); needed? 1 # TODO: Hook this in to the mypy plugin so that a more appropiate 1 # TODO: Why is the parser 'html.parser' here? To avoid an 1 return NotImplemented # TODO: ndarray[object]? 1 const xmlChar *select; /* TODO: Change this to "expression". */ 1 #define XSLT_TODO \ 1 # TODO: watch out for overflows 1 # TODO: standardize `_offset` vs `offset` naming convention 1 #XXX TODO: --inplace support for sdist command 1 # FIXME: Can we do this somehow without accessing private httplib _method? 1 # TODO: ERA = ["AD", "BC", "CE", "BCE", "Stardate", 1 # TODO: Remove once we got rid of the (indices < 0) check 1 # TODO: Ideally we would be able to recognize all HTML 5 named 1 # TODO: Change \s --> \s+ (this doesn't match existing behavior) 1 # FIXME: find_common_type incorrect with Categorical GH#38240 1 # TODO: Properly handle the `casting`-based combinatorics 1 # FIXME: This seems like it will copy strings around 1 # TODO: itemsize check? 1 # TODO: Deprecate these somehow in the pyarrow namespace 1 # TODO: transformations?? 1 ("Tue", "Tuesday"), # TODO: "Tues" 1 # 3. TODO: resolve other font-relative units 1 # TODO: do we need equal dtype or just comparable? 1 # TODO: sort=True here for backwards compat. It may 1 # TODO: explicitly raise here? we only have one test that 1 # _default_month: int # FIXME: python annotation here breaks things 1 TODO: 2 # TODO deprecate 1 # TODO: can we avoid this? it isn't cheap 1 TODO: 1 # TODO: If/when pandas supports more than datetime64[ns], this should be 1 # TODO: Add option for bins like value_counts() 1 # TODO: concat_compat? 1 ## FIXME: while it's fine we *find* this link, 1 # FIXME: there doesn't really seem like a general way to figure out what 1 // TODO: At some point we should flip this. 1 # TODO: hash_array doesn't handle mixed types. It casts 1 # TODO: GH#39993 - Avoid special-casing by replacing with lambda 1 # TODO: speed up on homogeneous DataFrame objects 1 # TODO: no tests with self.ndim == 1 for DataFrameGroupBy 1 # TODO: add support for 'markdown' format 1 # TODO: Do this more systematically 1 # TODO: perhaps allow for special properties 1 * TODO: add the defined function tables. 1 # TODO: Clean up the annotations for the 7 functions below 1 # FIXME: should this be None to delete? 1 # TODO: Do this timedelta properly in objToJSON.c See GH #15137 1 // TODO: Could avoid this kind of situation with "future abandonment" similar to mesos 1 # FIXME: what if the selector is "*" ? 1 # TODO: Refactor to remove code duplication with code 1 # TODO: This will not handle prohibited characters in nested field names 1 # For datetime64tz we need to drop the TZ in tests TODO: why? 1 * TODO: Currently disabled to surpress regression test failures, since 1 # TODO: can we pin down take_right's type earlier? 1 // TODO: Use std::size with C++17 1 # FIXME: should the break character be at the end of the 1 # TODO: Document public vs. private API 1 # TODO: Should require same-dtype NA? 1 # TODO: skipna is broken with max. 1 // TODO add argument descriptions? 1 # TODO: Refactor to use _get_column_name_list from 1 # TODO: remove once fastparquet no longer needs this 1 Sequence[Sequence[Any]], # TODO: wait for support for recursive types 1 y[mask] = iNaT # TODO: could try/finally for this? 1 # TODO can we avoid needing to unpack this here? That means converting 1 # TODO: I _really_ don't faking the value here 1 * REVISIT TODO: Keep this structure equal to the fields 1 # TODO: Remove after deprecation period. 1 # TODO: consider implementing for more dtypes 1 ## FIXME: I'm a little uncomfortable with the use of .checked 1 # TODO: Use the fact that axis can have units to simplify the process 1 # TODO: namespace all the pandas keys 1 # TODO: 1 # TODO operate_blockwise expects a manager of the same type 1 # FIXME: Rewrite this method and make it a class with a better structured logic. 1 * TODO: Might want to couple count_rows() with read_rows() to avoid 1 # TODO: deprecate server_language and server_charset. 1 # TODO: is the failure mentioned below still relevant? 1 # TODO: dispatch 2 // TODO: Consider standardizing on uint16 selection vectors and only use them 1 # TODO: `item`/`tolist` returns either `dt.timedelta` or `int` 1 # TODO: Change to keyword-only args and remove all this 1 # TODO: why is behavior different for object dtype? 1 # TODO: work out how to put this on the base class, np.floating 1 # TODO: Make filter_international_words keep things in self.alphabet 1 # TODO: Refactor to use _get_column_name_list from 1 # TODO: CPU information and flags 1 # TODO: get this into constructor, only for appropriate subclass 1 # TODO: implement concat_same_type in terms of cnp.PyArray_Concatenate 1 # FIXME: should data: be blocked? 1 # TODO: these two lines can replace the code below but 1 # TODO: Set the `bound` to something more suitable once we 3 # TODO: figure out a way to use a metaclass with a cdef class 1 # TODO: CHECK DTYPE? 1 # TODO: __inv__ vs __invert__? 1 # TODO: used only once in indexing; belongs elsewhere? 1 # TODO: Is it actually bool or is it uint8? 1 # TODO: look into _wrap_result 1 # TODO: I think we can avoid densifying when masking a 1 # FIXME: r not used 1 result: Timedelta | NaTType # TODO: alias? 1 # TODO: should the message here be more specifically non-str? 1 # TODO: cases where we need to do another pass through this func, 1 # TODO: if we are a MultiIndex, we can do better 1 # TODO: Change type to const object[:] when Cython supports that. 2 # TODO: not reached except in test_series_bin_grouper directly 1 # TODO: memoize? 1 # FIXME: GH#33401 this doesn't match DatetimeArray.astype, which 1 xsltCompilerCtxtPtr compCtxt; /* TODO: Change this to (void *). */ 1 // TODO: implement 1 # TODO: Consider deprecating these in favor of `union` (xref gh-15506) 1 # TODO: don't lowercase case sensitive parts of values (strings) 1 ## FIXME: should test that it's not a relative URL or something 1 # TODO NaT doesn't preserve dtype, so we need to ensure to create 1 # TODO: Do attrs get handled reliably? 1 # TODO: Sort out this `__getitem__` method 1 # TODO: Let the likes of `shape_as` and `strides_as` return `None` 1 # TODO: get_indexer_with_fill docstring says values must be _sorted_ 1 # TODO: De-duplicate with map, xref GH#32349 1 ## FIXME: there should be more methods, and it's unclear if this is 1 # TODO: why do we get here with e.g. MultiIndex? 1 # FIXME: if error is longer than els, should it raise an error? 1 # TODO: See if using ISO-8859-8 Hebrew model works better here, since 1 # TODO: once Index supports arbitrary EAs, this can be removed in favor 1 # FIXME: kludge because pytest.filterwarnings does not 1 void *nsDefs; /* ATTENTION TODO: This is currently used to store 1 # TODO: We need to evaluate the content `__subscripts` in order 1 # TODO: Are we sure this is the right condition here? 1 format: str | bytes # TODO: i think allowing bytes is from py2 days 1 # TODO: arithmetic operations 1 # TODO: DO this in maybe_booleans_to_slice? 1 # FIXME: Ideally we'd like to include the url in the ReadTimeoutError but 1 # TODO: This should be more robust. Handles case where path includes 1 def get_item(self, item): ... # TODO: return type? 1 #TODO add color transform options 2 # TODO: update this. 1 # TODO: reinstate nogil for use_utc case? 2 /* FIXME: hack to make new error reporting compile in old libxml2 versions */ 1 # TODO: should we wrap this in to e.g. _is_builtin_func? 1 # TODO: no header vs. header is not the first row 1 /// TODO: consider adding a min_repeated_run_length so the caller can control 1 # FIXME: that's not a safe way to increase the rank for 1 # TODO: not quite right ... Sparse/Categorical 1 # TODO: In v2 we can remove this sentinel and metaclass with deprecated options. 1 # TODO: general case implementation overridable by EAs. 1 // FIXME: Check for arithmetic overflow here 2 # TODO we receive a datetime/timedelta64 ndarray from DataFrame._iset_item 1 # TODO: ExtensionDtype.can_hold_na? 1 # TODO: make a copy if not inplace? 1 ("Thu", "Thursday"), # TODO: "Thurs" 1 # TODO: perf by not going through new_block 1 int warnings; /* TODO: number of warnings found at 1 # TODO: try to de-duplicate these, ensure identical behavior 1 value = self._to_decimal(tokens[idx + 2]) # TODO: try/except for this? 1 # TODO This has O(n^2) performance, for input like 1 # TODO: Does 'Y' need to worry about having less or more than 1 # TODO: There is no support for opening a file for writing which 1 # TODO decide on exact behaviour (we shouldn't do this only for empty result) 1 # TODO: Wait for support for recursive types 1 # TODO: remove special-case; this is just to keep exception 1 # TODO: how to do this better? cleanly slice nonnull_labels given the 1 // TODO: revisit this limit if necessary (can be raised to 64 by fixing some edge cases) 1 # TODO we should handle EAs consistently and move this check before the if/else 1 # TODO: why kind_attr here? 1 # TODO: This try/except will be repeated. 1 # FIXME: check against: http://msdn2.microsoft.com/en-us/library/ms537512.aspx 1 # TODO: should I do clean shutdown here? Do I have to? 1 return True # TODO: Optimize to find * early and return instead of iterating over all items 1 # TODO: Under what circumstances can we rely on sorted_values 1 def nested_iters(*args, **kwargs): ... # TODO: Sort out parameters 1 # TODO: validate this in a more general way (thinking of future engines 1 /* TODO: with-params */ 2 # FIXME: hack this for 0.10.1, creating more technical debt...sigh 1 # TODO: GH28021, should find a way to change view limit on xaxis 1 # TODO: integrate bottleneck 1 - bool -> uint64 (TODO this should be uint8) 1 except IOError as e: # TODO switch to FileNotFoundError? 1 # TODO: aggspec type: typing.Dict[str, List[AggScalar]] 1 # TODO: Add typing. As of January 2020 it is not possible to type this function since 1 # TODO: _shallow_copy(subset)? 1 /* TODO: does this release the GIL? */ 1 # TODO: better name? 1 # TODO: this logic is surely elsewhere 1 int maxNodeInfos; /* TEMP TODO: just for the interest */ 1 # TODO: Dispatch all the methods 1 # TODO: `np.prod()``: For object arrays `initial` does not necessarily 1 # TODO: 1 # TODO: should the message here be more specifically non-str? 1 # TODO: use Matplotlib public API when available 1 # TODO: Add optional support for socket.gethostbyname checking. 1 # TODO: complex? what if result is already non-object? 1 # TODO self.arrays can be empty 1 # TODO: Update the `npt.mypy_plugin` such that it substitutes `c_intp` for 1 TODO: warnings.warn had this problem back in 2010 but it might not 1 # TODO: what's the difference between result_index vs group_index? 1 # TODO: change after solving issue 27881 1 # TODO: Filter the warnings we actually care about here. 1 # FIXME: ordered_funcs_api is unused 1 FIXME: Base the size of escBuffer of that of cbBuffer so that the unicode 1 # TODO "replace" is right now implemented on the blocks, we should move 1 _DTypeLikeNested = Any # TODO: wait for support for recursive types 1 # TODO: is the next line needed above in the data(...) method? 1 # TODO: overload concat with Literal for axis 1 # TODO: Could use from_sequence_of_strings if implemented 1 # TODO: we dont have tests that get here 1 # TODO: sure we want to overwrite results? 1 # TODO: avoid getting here 1 # TODO: prevent duplicate keys 1 # TODO deal with NaNs for FloatingArray case 1 # TODO: can we be more specific about rows? 2 # TODO: if object, could use infer_dtype to preempt costly 1 # TODO: check that l[i + 1] is integer? 1 # TODO: overload DatetimeLikeArrayMixin.__getitem__ 2 # TODO: Refactor to remove code duplication with code block 1 # FIXME: This should be typed as datetime, but we DatetimeLikeIndex.insert 1 # TODO: test cases with arr.dtype.kind in ["m", "M"] 1 # TODO: can we merge the two digit patterns? 1 # TODO: special case not needed with ArrayManager 1 # TODO: a generic formatter wld b in DataFrameFormatter 1 /* TODO: this is obviously broken ... the namespaces should be passed too ! */ 1 # FIXME complex numbers may also have exponents 1 # TODO: Python 3.6.2: replace Callable[..., None] with Callable[..., NoReturn] 1 #FIXME when yield tests are gone. 1 # TODO: See if we can avoid these copies 1 # TODO: check value is None 1 # TODO: handle index names! 1 # TODO: implement take in terms of cnp.PyArray_TakeFrom 1 # TODO: let's just use dtype.empty? 1 # TODO: Add Ukranian (KOI8-U) 1 // FIXME this is superceded by Expression::Bind 1 # TODO: flexible with index=None and/or items=None 1 # TODO: We could allow this in cases where we end up going 1 # TODO: Why does this handle the 0 case the opposite of others? 1 /* TODO: REMOVE: #define XSLT_REFACTORED_EXCLRESNS */ 1 # TODO: Update in line with above. 1 * FIXME: This should check for a flag on the data-type that 1 # TODO: why cant we do out[:, k] = result? 1 # TODO: na handling 1 # TODO: support % 1 # TODO: Check the following : is it really info['fmt'] ? 1 # TODO: figure out why these two versions of `meta` dont always match. 1 #FIXME: Maybe lxml should provide a dedicated place for common namespace 1 # TODO: These if-block and else-block are almost same. 1 # TODO: This code has no test coverage and I'm not sure 1 # TODO: return here could be made an enum 1 # TODO (2.0): set on_bad_lines to "error". 2 # TODO: Deprecated, remove in v2.0 1 # TODO: Better repr for GroupBy object 1 * TODO: It is intended to hold navigational fields in the future. 1 # TODO: wait for support for recursive types 1 # TODO: what if they both have np.nan for their names? 1 * XSLT_TODO: 1 # FIXME: document this. If pkgname is defined in the variables section, and 1 /// TODO: allow 0 bit_width (and have dict encoder use it) 1 # TODO: Remove when default dtype of empty Series is object 1 # TODO: Remove Datetime & DatetimeTZ formatters. 1 # TODO: test tests.frame.methods.test_replace tests get here, 1 # TODO copy=False is broken for astype_nansafe with int -> float, so cannot 1 # TODO: We can do some of these with no-copy / coercion? 1 # TODO: Follow uchardet's lead and discount confidence for frequent 1 # TODO: what if they both have np.nan for their names? 1 # FIXME: refactor, clearly separate broadcasting & zip-like assignment 1 /* TODO: more error handling */ 1 # FIXME: dont leave commented-out 1 # TODO: are there any cases where union won't be type/dtype preserving? 1 # TODO: get Cython to iterate over reference directly 1 # TODO: this could be more efficient 1 # TODO: can diff_2d dtype specialization troubles be fixed by defining 1 "qt": init_qt_clipboard, # TODO - split this into 'qtpy', 'pyqt4', and 'pyqt5' 1 # TODO: https://github.com/pandas-dev/pandas/issues/22791 1 # FIXME: check what happens when you give html with a body, head, etc. 1 # TODO are there cases we don't end up with float? 1 TODO: We need to get rid of this. 1 # TODO: Check the original object type: csv, parquet, json. and use the correct loader 1 # FIXME: this should be totally avoidable 1 # FIXME: this None test is a bit sloppy 1 None, # TODO: display_length; should this be self.length? 1 #FIXME: definitions? 1 requested_action = 's3lambda:GetObject' # TODO: Implement logic to receive action from the request. 1 # TODO: write get_indexer_intervals 1 type, # TODO: enumerate these when we add type hints for numpy scalars 1 # TODO: Check -numweeks for next year. 1 # TODO: restrict `arr`? 1 # TODO: Make a faster variant of this in Arrow upstream. 1 # TODO: I suspect that _categorical_convert could be 1 # FIXME: not looking at the action currently, because it is more complex 1 * TODO: Actually all those flags used for the schema should sit 1 # TODO: handle uint8 1 # TODO: non-standard array-likes we can convert to ndarray more efficiently? 1 # TODO: Could skip verify_integrity here. 1 # TODO: avoid special-casing 1 FIXME: While this is fine dandy and working it's a magic value mess which 1 # TODO: could use -Xlinker here, if it's supported 2 # TODO: de-duplicate once cython supports conditional nogil 1 # TODO: need more general formatting methodology here 1 # TODO: this works around .astype(bool) not working properly (gh-9847) 1 # FIXME: real_t is unused 1 # TODO: _from_sequence would raise ValueError in cases where 1 # TODO: this is for consistency with 1 FIXME: 2 # TODO: implement get_f90flags and use it in _compile similarly to get_f77flags 1 FIXME: It's possible to give a much nicer error message here with actual 1 min_offset = int(l[i + 3]) # TODO: Check that l[i+3] is minute-like? 1 # TODO: What about re-joining object columns? 1 uniques = self.copy() # TODO: copy or view? 1 // TODO: Parallel processing is not yet safe because of memory-ownership 1 # FIXME: SparseArray would raise TypeError with np.putmask 1 # FIXME: removing the reference to the parent artificial document 1 # TODO: GH 15362 1 # TODO: avoid the downcasting at the end in this case? 1 /* TODO: Make this definition public in the API, as soon as its settled */ 1 # TODO: Avoid circular/runtime import 1 # TODO: check subdtype match like _validate_setitem_value? 1 # TODO: Remove this in 3.0.0: see #2811 1 # TODO: Support CLIENT.DEPRECATE_EOF 1 # TODO: The previous assertion `assert right._indexed_same(self)` 1 # TODO: in all tests we have mask.all(); can we rely on that? 2 # TODO: can we pin down take_left's type earlier? 1 # TODO: Change this back to self.win_type once deprecation is enforced 1 # TODO: Why is the parser 'html.parser' here? To avoid an 1 # TODO: checking that hour/minute/second are not 1 # TODO: other cases we can use lexsort for? much more performant. 1 # TODO: optimization potential in case all mgrs contain slices and 1 # TODO: this prob needs some better checking for 2D cases 1 # TODO: We have no tests for these 1 # TODO: should we be passing `name` below? 1 # TODO: we used to reshape for the dt64tz case, but no longer 1 # TODO: support for multiIndex 1 # TODO: EA? 1 # TODO: general case needs casting logic. 1 # TODO: `item`/`tolist` returns either `bytes` or `tuple` 1 # FIXME: dont leave commented-out 2 int errors; /* TODO: number of errors found at 1 # TODO: Move placeholders to their respective module once 1 # FIXME: shouldn't get here; we are ignoring sort 1 # TODO: use "cpdef enum class" to automatically get a Python wrapper? 1 # TODO: only ever called with convert_empty=False 1 # TODO: standardize return type of non-union setops type(self vs other) 1 # TODO: de-duplicate with equals, validate_comparison_value 1 int maxLREs; /* TEMP TODO: just for the interest */ 1 TODO: Check if we need. */ 1 # GH#41409 TODO: not a great place for this 1 # TODO: watch out for zero-dim 1 # FIXME rethrow compatible exceptions should we ever use this 1 /// TODO: Datum uses arrow/util/variant.h which may be a bit heavier-weight 1 /// TODO this could be a strong canonicalization 1 # TODO: can we have a workaround for EAs backed by ndarray? 1 /* TODO: REMOVE: #define XSLT_REFACTORED_NSALIAS */ 1 # TODO: dont special-case Categorical 1 # TODO: overload __getitem__, a slice indexer returns same type as self 1 # TODO: The following functions are now defined in C, so should be defined 1 # TODO: make this treatment consistent across ops and classes. 1 # TODO: this is reached in tests that specifically call apply, 1 * TODO: Shared between stylesheets, and XPath mechanisms. 1 # FIXME: numpy did not evaluate pointwise, seen in docs build 1 /// TODO: think about how to use this for strings. The bit packing isn't quite the same. 1 # TODO: Does this make sense for the general case? It would help 1 # TODO: is there a shortcut available when len(cols) == 0? 1 ("Feb", "February"), # TODO: "Febr" 1 # TODO: we need a way to reset the callback if the 1 # TODO: handle record value which are lists, at least error 1 # TODO: can we get a performant workaround for EAs backed by ndarray? 1 # TODO: only copy DataFrames when modification necessary 1 # TODO: de-duplicate with StringArray method. This method is moreless copy and 1 # TODO: avoid this special-casing 1 /* TODO: remap to xmlXPathValuePop and Push. */ 1 // TODO: revisit this limit if necessary 1 # FIXME: Is there a better way to differentiate between SSLErrors? 1 # TODO: disentangle the fill_value dtype inference from 1 FIXME: Keep track of how big these get across several encoder calls and try to 1 # TODO: any other cases we should handle here? 1 # TODO: Implement pagination as now we return up to 1MB of policies per request 1 # TODO emit portability warning? 1 # TODO: why not operator.inv? 1 // TODO: details will be implemented later 1 mask = np.asarray(isna(items)) # TODO: does this exclude MultiIndex too? 1 # TODO: remove when the full numpy namespace is defined 1 # TODO: allow raise of errors within instead 1 * TODO: Eliminate this. 1 # TODO: Arguably