klarEDA / klar-EDA

A python library for automated exploratory data analysis
https://klareda.github.io/klar-EDA/
MIT License
17 stars 22 forks source link

Error while import #10

Open harshasridhar opened 3 years ago

harshasridhar commented 3 years ago

Indentation error on import PFA logs

 >>>from klar_eda.preprocessing import preprocess_csv
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/harsha/opt/anaconda3/envs/klar/lib/python3.7/site-packages/klar_eda/preprocessing.py", line 1, in <module>
    from .preprocess.csv_preprocess import CSVPreProcess
  File "/Users/harsha/opt/anaconda3/envs/klar/lib/python3.7/site-packages/klar_eda/preprocess/csv_preprocess.py", line 71
    if ret == True:
                  ^
IndentationError: unindent does not match any outer indentation level
>>> from klar_eda import visualization
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/harsha/opt/anaconda3/envs/klar/lib/python3.7/site-packages/klar_eda/visualization.py", line 1, in <module>
    from .visualize.csv_visualize import CSVVisualize
  File "/Users/harsha/opt/anaconda3/envs/klar/lib/python3.7/site-packages/klar_eda/visualize/csv_visualize.py", line 13, in <module>
    from ..preprocess.csv_preprocess import CSVPreProcess
  File "/Users/harshams/opt/anaconda3/envs/klar/lib/python3.7/site-packages/klar_eda/preprocess/csv_preprocess.py", line 71
    if ret == True:
                  ^
IndentationError: unindent does not match any outer indentation level
srisatya12 commented 3 years ago

I want to contribute to this issue. Please assign me this task as a part of GSSoC'21

Ask149 commented 3 years ago

@harshasridhar Closing this issue, as identified to be an IDE error on the user side. Please feel free to reopen if the issue persists.

harshasridhar commented 3 years ago

Hi @Ask149 I tried to install this on a docker container with no editors as such, and I'm still facing the issue. I copy pasted the code to an online code formatter, and there as well I'm seeing the same issue Can you please try running this command on your machine python3 -m tabnanny csv_preprocess.py 'csv_preprocess.py': Indentation Error: unindent does not match any outer indentation level (, line 71)

harshasridhar commented 3 years ago

Please have a look at this jupyter notebook where I've replicated the issue