250x250
Link
๋์ GitHub Contribution ๊ทธ๋ํ
Loading data ...
Notice
Recent Posts
Recent Comments
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- dataframe
- ์๋ํด๋ผ์ฐ๋
- ๋ ๋ฆฝํ๋ณธ
- Lambda
- ํ์ด์ฌ
- opencv
- ๋น ๋ฐ์ดํฐ๋ถ์๊ธฐ์ฌ
- ๋ฐ์ดํฐ๋ถ๊ท ํ
- pandas
- ์ธ๋์ํ๋ง
- numpy
- datascience
- Python
- ADsP
- ADP
- ๋ฐ์ดํฐ๋ถ์
- DBSCAN
- LDA
- ๋ฐ์ดํฐ๋ถ์์ค์ ๋ฌธ๊ฐ
- ๋น ๋ฐ์ดํฐ
- ํ ์คํธ๋ถ์
- PCA
- ํฌ๋กค๋ง
- t-test
- ์ค๋ฒ์ํ๋ง
- ๋ฐ์ดํฐ๋ถ์์ ๋ฌธ๊ฐ
- ์ฃผ์ฑ๋ถ๋ถ์
- iloc
- ๋์ํ๋ณธ
- ๊ตฐ์งํ
Archives
Data Science LAB
[Python error ํด๊ฒฐ๋ฒ] SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape ๋ณธ๋ฌธ
๐ Python/Python Error
[Python error ํด๊ฒฐ๋ฒ] SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
ใ ใ ใ ใ 2022. 1. 26. 16:55728x90
Python์์ ํ์ผ์ ๋ถ๋ฌ์ฌ ๋
import pandas as pd
titanic_df = pd.read_csv("C:๏ฟฆUsers๏ฟฆDesktop๏ฟฆtitanic_train.csv")
๋ค์๊ณผ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ํ๋ ๊ฒฝ์ฐ๊ฐ ์๋ค.
์ฃผ๋ก ํ์ผ ๊ฒฝ๋ก์ \ ๋์ ๏ฟฆ์ฌ์ฉํ์ฌ ๏ฟฆ๋ฅผ ์ ๋์ฝ๋๋ก ์ธ์ํ์ฌ ๋ฐ์ํ๋ ์๋ฌ์ด๋ค.
ํด๊ฒฐ ๋ฐฉ๋ฒ
1. ๏ฟฆ๋์ ์ญ์ฌ๋์(\) ์ฌ์ฉ
import pandas as pd
titanic_df = pd.read_csv('C:\Users\Desktop\titanic_train.csv')
2. ๋ฐ์ดํ(') ์์ r ๋ถ์ด๊ธฐ
import pandas as pd
titanic_df = pd.read_csv(r"C:\Users\Desktop\titanic_train.csv")
3. ๏ฟฆ๋๋ฒ ์ฐ๊ธฐ(๏ฟฆ๏ฟฆ)
import pandas as pd
titanic_df = pd.read_csv("C:\\Users\\Desktop\\titanic_train.csv")
728x90
'๐ Python > Python Error' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Python Error] AttributeError: 'SMOTE' object has no attribute 'fit_sample' (0) | 2022.03.24 |
---|---|
[Python Error] NetworkXError: random_state_index is incorrect (0) | 2022.03.17 |
[Python]KONLPy ์ค์น ๋ฐฉ๋ฒ ๋ฐ ์๋ฌ ํด๊ฒฐ (0) | 2022.02.25 |
[Python Error] SyntaxError: cannot assign to function call (0) | 2022.02.20 |
[Python error] ํ์ด์ฌ ์์ฃผ ๋๋ ์ค๋ฅ ์ ๋ฆฌ (0) | 2022.02.17 |
Comments