A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/1706 below:

encode/decode method for string module (like in np.char.encode ) · Issue #1706 · pandas-dev/pandas · GitHub

This is already in included in numpy but for convenience it would be nice to have this in pandas.

series.str.decode('utf-8')

is nicer than for example

series = Series(['a','b','ä'])
Series(np.char.decode(series.values.astype('|S255'), 'utf-8'))

I find myself having to decode and encode a lot depending on what other libraries accept/return.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4