-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Closed
Labels
BugIO HTMLread_html, to_html, Styler.apply, Styler.applymapread_html, to_html, Styler.apply, Styler.applymapgood first issue
Description
import pandas as pd
from pathlib import Path
file_path_string = r'C:\Users\Desktop\my_file.html'
file_path = Path(file_path_string)
df1 = pd.read_html(file_path_string)[0] # works fine
df2 = pd.read_html(file_path)[0] # raises TypeError: cannot parse 'from WindowsPath'Why do read_excel(), read_csv(), to_excel(), to_csv(), ... support pathlib.Path while read_html() doesn't?
Metadata
Metadata
Assignees
Labels
BugIO HTMLread_html, to_html, Styler.apply, Styler.applymapread_html, to_html, Styler.apply, Styler.applymapgood first issue