"Pandas 3.0.0 will be released soon, and we're on Release candidate 0 Here's What's new in Pands 3.0.0 Dedicated string data type by default Inferred by default for string data (instead of object dtype) The str dtype can only hold strings (or missing values), in contrast to object dtype. (setitem with non string fails) The missing value sentinel is always NaN (np.nan) and follows the same missing value semantics as the other default dtypes."
"Copy-on-Write The result of any indexing operation (subsetting a DataFrame or Series in any way, i.e. including accessing a DataFrame column as a Series) or any method returning a new DataFrame or Series, always behaves as if it were a copy in terms of user API. As a consequence, if you want to modify an object (DataFrame or Series), the only way to do this is to directly modify that object itself."
"Like codespell, typos checks for known misspellings instead of only allowing words from a dictionary. But typos has some extra features I really appreciate, like finding spelling mistakes inside snake_case or camelCase words. For example, if you have the line: codespell won't find the misspelling, but typos will. It gave me the output: But the main advantage for me is that typos has an LSP that supports editor integrations like a VS Code extension. As far as I can tell,"
Sponsors and support options are provided, with a live audience on YouTube at pythonbytes.fm/live, usually Monday at 10am PT, and older videos available. A weekly handcrafted email digest is available via a friends list. PEP 798 covers unpacking in comprehensions. Pandas 3.0.0 RC0 adds a dedicated str dtype inferred by default that only holds strings or missing values with NaN as the sentinel. Copy-on-write makes indexing results behave as copies and requires modifying the original object to change data. pd.col now works in DataFrame.assign() and DataFrame.loc(). A new deprecation policy is noted. The typos tool finds misspellings inside snake_case and camelCase and offers an LSP for editor integration such as VS Code.
Read at Pythonbytes
Unable to calculate read time
Collection
[
|
...
]