Detrend Data Python. Detrending a signal ¶ scipy. Here is one way to do it: #!/us