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/15 below:

.apply() API consistency fix · Issue #15 · pandas-dev/pandas · GitHub

DataFrame.apply, Series.applymap, Series.map sort of come across as inconsistent.

def f(x):
    return x.apply(lambda y: 2*y)
def g(x):
    return x.applymap(lambda y: 2*y)

a = TimeSeries([1,2],[1,2])
b = DataMatrix({'a':a})

f(b)
g(b)
f(a)    
g(a)

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