Python ignore and skip error line, and continue with the next line

后端 未结 0 753
面向向阳花
面向向阳花 2020-12-08 09:19

What I have tried:

import simplejson
import pandas as pd
with open(\'/tmp/test.json\') as f:
    try:
        data = pd.DataFrame(simplejson.loads(line) for l         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题