Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 20th, 2018
68
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
y: [4, NaN, 5]
import pandas as pd
import numpy as np
df = pd.DataFrame(
{'x': ['徒歩4分', '2駅12分', '約5分']},
index=[1, 2, 3])
df["walk_time"] = df.x.str.extract(r'(d*)分')
Add Comment
Please,
Sign In
to add comment
Public Pastes
GA4 - purchase - rtb copy
JavaScript | 19 sec ago | 1.96 KB
Untitled
C++ | 10 min ago | 1.05 KB
Untitled
C# | 12 min ago | 6.78 KB
SQL
PostgreSQL | 16 min ago | 34.04 KB
snowybot python
JavaScript | 31 min ago | 3.48 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 33 min ago | 0.39 KB
snowybot python
JavaScript | 38 min ago | 3.44 KB
data905
JSON | 38 min ago | 0.64 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!