nmake pandas convert the CSV correctly as strings and not as numbers when inputing case sizes like 0603
This commit is contained in:
parent
7f88dcaab5
commit
fdcc35174f
@ -6,7 +6,7 @@ import os
|
|||||||
medir = os.path.dirname(__file__)
|
medir = os.path.dirname(__file__)
|
||||||
example_data_path = os.path.join(medir, 'labels.csv')
|
example_data_path = os.path.join(medir, 'labels.csv')
|
||||||
|
|
||||||
df = pd.read_csv(example_data_path)
|
df = pd.read_csv(example_data_path, converters={i: str for i in range(3)})
|
||||||
|
|
||||||
printer = ql_wrapper.BrotherQlPrinter(model='QL-800', printer_connection='usb://0x04f9:0x209b')
|
printer = ql_wrapper.BrotherQlPrinter(model='QL-800', printer_connection='usb://0x04f9:0x209b')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user